Nature's Particle Manager

    iota

    0.0.0 • Public • Published

    iota

    A super-simple Node.js integer iterator function

    Install

    $ npm install iota

    Usage

    var iota = require('iota');
     
    var a = iota();  // a === 0
    var b = iota();  // b === 1
    var c = iota();  // c === 2
     
    iota.reset();
     
    var d = iota(); // d === 0
    var e = iota(); // e === 1
     
    iota.set(5);
     
    var f = iota();  // f === 5
    var g = iota();  // g === 6

    Keywords

    none

    Install

    npm i iota

    DownloadsWeekly Downloads

    0

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • k