cmdname

1.0.2 • Public • Published

cmdname

Build Status Coverage Status

Get the name of the executable used.

Install

$ npm install [--save] cmdname

Test

$ npm test

Usage

$ cat test.js
 
console.log(require('cmdname')())
 
$ node test.js
> 'node'
 
$ nsolid test.js
> 'nsolid'

Author

Evan Lucas

License

MIT (See LICENSE for more info)

/cmdname/

    Package Sidebar

    Install

    npm i cmdname

    Weekly Downloads

    4

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • eh
    • evanlucas