Socket
Socket
Sign inDemoInstall

argtoob

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json

@@ -25,3 +25,3 @@ {

},
"version": "1.0.1"
"version": "1.0.2"
}

@@ -16,5 +16,6 @@ # argtoob

```javascript
const t = require('argtoob')
const targs = require('argtoob')
const toObj = t('a', 'b', 'c') // returns a function
const toObj = targs('a', 'b', 'c') // returns a function
toObj(1, 2, 3) // returns {a: 1, b: 2, c: 3}

@@ -29,2 +30,5 @@

```javascript
const _ = require('lodash')
const targs = require('argtoob')
_.map({a: 1, b: 2, c: 3}, targs('value', 'key'))

@@ -44,2 +48,4 @@

```javascript
const Rx = require('rx')
const targs = require('argtoob')
const resize = Rx.Observable.fromEvent(window, 'resize')

@@ -46,0 +52,0 @@ const scroll = Rx.Observable.fromEvent(window, 'scroll')

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc