Noisy Pterodactyl Melodies

    history.node

    1.0.0 • Public • Published

    history.node.js

    history utils for node

    how to use

    npm i --save history.node
    
    //record your cli history
    require('history.node').record('yourSysName')
     
    // set your history's system first ,default system name is "default"
    //hist.setSys('yourSysName')
     
    // add history manumal
    //hist.addHistory("cmd","remark")
     
    // print history of 10 lines
    hist.printHistory(10)
     
    //get history
    hist.getHistory(1)
     

    cli

    npm i history.node -g
    
    hist -n 10 -p yourProgram
    hist last
    hist last -i 2
    hist --number 10 --program yourProgram
    hist [ls] -n 10
     

    Keywords

    none

    Install

    npm i history.node

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    12.4 kB

    Total Files

    13

    Last publish

    Collaborators

    • apporoad