https://github.com/varvolta/anycoder
https://github.com/varvolta/anycoder
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/varvolta/anycoder
- Owner: varvolta
- Created: 2022-09-25T03:23:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-28T03:27:27.000Z (over 3 years ago)
- Last Synced: 2025-06-24T10:15:18.887Z (12 months ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Convert any js code to string and vice versa.**
Classes, Functions, Objects, Arrays and everything else.
# Installation
```
npm i anycoder
```
# Usage
```js
import Anycoder from 'anycoder'
// encode with
const string = Anycoder.encode(Class)
// decode with
const Class = Anycoder.decode(string)
```