Narcoleptic Pasta Manufacturer

    cetriolino
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.4 • Public • Published

    cetriolino

    Simple key-value storage, with no runtime dependencies, written in TypeScript.

    Heavily insipired by pickleDB.

    Usage

    import Cetriolino from 'cetriolino'
     
    const db = new Cetriolino('db.json')
     
    db.set('one', 1)
    db.get('one') // 1
     
    db.lcreate('hey') // or: db.set('hey', [])
    db.lpush('hey', ['oh', "let's", 'go']) // 3
    db.get('hey') // [ 'oh', 'let\'s', 'go' ]
     
    db.dump()

    Install

    $ npm install cetriolino

    or

    $ yarn add cetriolino

    To-Do

    • Add support for nested dictionaries

    Keywords

    none

    Install

    npm i cetriolino

    DownloadsWeekly Downloads

    0

    Version

    0.3.4

    License

    MIT

    Unpacked Size

    22.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • acifani