1.2.1 • Published 4 years ago

jsto v1.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Jsto

Save/Load object as JSON with compress and encryption with aes-256.

npm

Installation

npm i jsto

Usage

const jsto = require('jsto')

jsto.options['indent_size'] = 2

const func = async () => {
    await jsto.dump(
        './staff.sto',
        [
            { name: 'John', age: '34' },
            { name: 'Gaston', age: '28' },
        ],
        'passwd'
    )
    await jsto.load('./staff.sto', 'passwd')
}

License

MIT © MamoruDS

1.2.1

4 years ago

1.2.1-beta.1

4 years ago

1.2.1-beta.0

4 years ago

1.2.0

4 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago