expand-object
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "expand-object", | ||
"description": "Expand a string into a JavaScript object using a simple notation.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/jonschlinkert/expand-object", | ||
@@ -22,3 +22,4 @@ "author": { | ||
"files": [ | ||
"index.js" | ||
"index.js", | ||
"cli.js" | ||
], | ||
@@ -32,3 +33,8 @@ "main": "index.js", | ||
}, | ||
"bin": { | ||
"expand-object": "cli.js" | ||
}, | ||
"dependencies": { | ||
"commander": "^2.8.1", | ||
"get-stdin": "^4.0.1", | ||
"set-value": "^0.2.0" | ||
@@ -35,0 +41,0 @@ }, |
@@ -26,2 +26,24 @@ # expand-object [![NPM version](https://badge.fury.io/js/expand-object.svg)](http://badge.fury.io/js/expand-object) | ||
Usage with cli: | ||
```sh | ||
❯ expand-object --help | ||
Usage: expand-object [options] <string> | ||
Expand a string into a JavaScript object using a simple notation. | ||
Options: | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
-r, --raw Output as raw javascript object - not stringified | ||
Examples: | ||
$ expand-object "a:b" | ||
$ expand-object --raw "a:b" | ||
$ echo "a:b" | expand-object | ||
``` | ||
## Install | ||
@@ -31,4 +53,4 @@ | ||
```bash | ||
npm i expand-object --save | ||
```sh | ||
$ npm i expand-object --save | ||
``` | ||
@@ -158,4 +180,4 @@ | ||
```bash | ||
npm i -d && npm test | ||
```sh | ||
$ npm i -d && npm test | ||
``` | ||
@@ -181,2 +203,2 @@ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 12, 2015._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 14, 2015._ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8147
5
77
200
3
+ Addedcommander@^2.8.1
+ Addedget-stdin@^4.0.1
+ Addedcommander@2.20.3(transitive)
+ Addedget-stdin@4.0.1(transitive)