Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expand-object

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expand-object - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

cli.js

10

package.json
{
"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 @@ },

32

README.md

@@ -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._
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc