File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " subarg" ,
2
+ "name" : " @minimistjs/ subarg" ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " parse arguments with recursive contexts" ,
5
5
"main" : " index.js" ,
14
14
},
15
15
"repository" : {
16
16
"type" : " git" ,
17
- "url" : " git://github.com/substack /subarg.git"
17
+ "url" : " git://github.com/minimistjs /subarg.git"
18
18
},
19
- "homepage" : " https://github.com/substack /subarg" ,
19
+ "homepage" : " https://github.com/minimistjs /subarg" ,
20
20
"keywords" : [
21
21
" argument" ,
22
22
" option" ,
Original file line number Diff line number Diff line change 3
3
parse arguments with recursive contexts using
4
4
[ minimist] ( https://npmjs.org/package/minimist )
5
5
6
- [ ![ testling badge] ( https://ci.testling.com/substack/subarg.png )] ( https://ci.testling.com/substack/subarg )
7
-
8
- [ ![ build status] ( https://secure.travis-ci.org/substack/subarg.png )] ( http://travis-ci.org/substack/subarg )
6
+ [ ![ build status] ( https://secure.travis-ci.org/minimistjs/subarg.png )] ( http://travis-ci.org/minimistjs/subarg )
9
7
10
8
This module is useful if you need to pass arguments into a piece of code without
11
9
coordinating ahead of time with the main program, like with a plugin system.
12
10
13
11
# example
14
12
15
13
``` js
16
- var subarg = require (' subarg' );
14
+ var subarg = require (' @minimistjs/ subarg' );
17
15
var argv = subarg (process .argv .slice (2 ));
18
16
console .log (argv);
19
17
```
You can’t perform that action at this time.
0 commit comments