1.0.8 • Published 4 years ago

@ritani/to-simple-js v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Convert an object to javascript that exports the object with simple commenting mechanism

How to install

npm install @ritani/to-simple-js

How to use

const { to_simple_js } = require('@ritani/to-simple-js');

const object = [
    {
        x: 1,
        y: (a) => console.log(a),
    }
    {
        x: 2,
        y: (a) => console.log(a),
    }
];

const result = to_simple_js('test', object);

console.log(result);
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago