Skip to content

NEWECX/to-simple-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages