Socket
Socket
Sign inDemoInstall

extract-opts

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-opts - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

3

HISTORY.md
# History
## v3.0.1 March 13, 2015
- Republished
## v3.0.0 March 13, 2015

@@ -4,0 +7,0 @@ - Simplified export

<!-- LICENSEFILE -->
<!-- LICENSEFILE/ -->
# License
Unless stated otherwise all works are:
- Copyright &copy; 2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)
- Copyright &copy; 2011+ Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)
and licensed under:
- The #{type} License
## The #{type} License
More information possibly available through the the [Open Source Initiative License Listing](http://opensource.org/licenses/alphabetical)
<!-- /LICENSEFILE -->

101

package.json
{
"title": "Extract Options",
"name": "extract-opts",
"version": "3.0.0",
"description": "Extract the options and callback from a function's arguments easily",
"homepage": "https://github.com/bevry/extract-opts",
"keywords": [
"opts", "options", "cb", "callback", "next", "flow", "args", "optional", "arguments", "extract"
],
"title": "Extract Options",
"name": "extract-opts",
"version": "3.0.1",
"description": "Extract the options and callback from a function's arguments easily",
"homepage": "https://github.com/bevry/extract-opts",
"browsers": true,
"keywords": [
"opts",
"options",
"cb",
"callback",
"next",
"flow",
"args",
"optional",
"arguments",
"extract"
],
"badges": {

@@ -22,39 +32,44 @@ "travis": true,

},
"author": "2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me), 2011+ Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
],
"contributors": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
],
"bugs": {
"url": "https://github.com/bevry/extract-opts/issues"
},
"repository" : {
"type": "git",
"url": "http://github.com/bevry/extract-opts.git"
},
"engines" : {
"node": ">=0.4"
},
"dependencies": {
"typechecker": "^2.0.8"
},
"devDependencies": {
"coffee-script": "^1.9.1",
"joe": "^1.6.0",
"joe-reporter-console": "^1.2.1",
"chai": "^2.1.1",
"eachr": "^2.0.4"
},
"directories": {
"lib": "./out/lib"
},
"scripts": {
"test": "node ./out/test/extract-opts-test.js"
},
"main": "./out/lib/extract-opts.js",
"author": "2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me), 2011+ Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
],
"contributors": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
"sfrdmn (https://github.com/sfrdmn)"
],
"bugs": {
"url": "https://github.com/bevry/extract-opts/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/bevry/extract-opts.git"
},
"engines": {
"node": ">=0.4"
},
"dependencies": {
"typechecker": "^2.0.8"
},
"devDependencies": {
"chai": "^2.1.1",
"coffee-script": "^1.9.1",
"eachr": "^2.0.4",
"joe": "^1.6.0",
"joe-reporter-console": "^1.2.1",
"projectz": "^0.5.0"
},
"directories": {
"lib": "./out/lib"
},
"scripts": {
"test": "node ./out/test/extract-opts-test.js"
},
"main": "./out/lib/extract-opts.js",
"cakeConfiguration": {
"COFFEE_SRC_PATH": "src"
},
"license": {
"type": ""
}
}
}
<!-- TITLE -->
<!-- TITLE/ -->
<!-- BADGES -->
# Extract Options
<!-- DESCRIPTION -->
<!-- /TITLE -->
<!-- INSTALL -->
<!-- BADGES/ -->
[![Build Status](https://img.shields.io/travis/bevry/extract-opts/master.svg)](http://travis-ci.org/bevry/extract-opts "Check this project's build status on TravisCI")
[![NPM version](https://img.shields.io/npm/v/extract-opts.svg)](https://npmjs.org/package/extract-opts "View this project on NPM")
[![NPM downloads](https://img.shields.io/npm/dm/extract-opts.svg)](https://npmjs.org/package/extract-opts "View this project on NPM")
[![Dependency Status](https://img.shields.io/david/bevry/extract-opts.svg)](https://david-dm.org/bevry/extract-opts)
[![Dev Dependency Status](https://img.shields.io/david/dev/bevry/extract-opts.svg)](https://david-dm.org/bevry/extract-opts#info=devDependencies)<br/>
[![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay")
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin")
[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us")
<!-- /BADGES -->
<!-- DESCRIPTION/ -->
Extract the options and callback from a function's arguments easily
<!-- /DESCRIPTION -->
<!-- INSTALL/ -->
## Install
### [NPM](http://npmjs.org/)
- Use: `require('extract-opts')`
- Install: `npm install --save extract-opts`
### [Browserify](http://browserify.org/)
- Use: `require('extract-opts')`
- Install: `npm install --save extract-opts`
- CDN URL: `//wzrd.in/bundle/extract-opts@3.0.1`
### [Ender](http://enderjs.com)
- Use: `require('extract-opts')`
- Install: `ender add extract-opts`
<!-- /INSTALL -->
## Usage

@@ -36,8 +76,66 @@

<!-- HISTORY -->
<!-- HISTORY/ -->
<!-- CONTRIBUTE -->
## History
[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/extract-opts/blob/master/HISTORY.md#files)
<!-- BACKERS -->
<!-- /HISTORY -->
<!-- LICENSE -->
<!-- CONTRIBUTE/ -->
## Contribute
[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/bevry/extract-opts/blob/master/CONTRIBUTING.md#files)
<!-- /CONTRIBUTE -->
<!-- BACKERS/ -->
## Backers
### Maintainers
These amazing people are maintaining this project:
- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)
### Sponsors
No sponsors yet! Will you be the first?
[![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay")
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin")
[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us")
### Contributors
These amazing people have contributed code to this project:
- [Benjamin Lupton](https://github.com/balupton) <b@lupton.cc> — [view contributions](https://github.com/bevry/extract-opts/commits?author=balupton)
- [sfrdmn](https://github.com/sfrdmn) — [view contributions](https://github.com/bevry/extract-opts/commits?author=sfrdmn)
[Become a contributor!](https://github.com/bevry/extract-opts/blob/master/CONTRIBUTING.md#files)
<!-- /BACKERS -->
<!-- LICENSE/ -->
## License
Unless stated otherwise all works are:
- Copyright &copy; 2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)
- Copyright &copy; 2011+ Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)
and licensed under:
- The #{type} License
<!-- /LICENSE -->
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