Socket
Socket
Sign inDemoInstall

mri

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

license.md

3

lib/index.js

@@ -24,3 +24,4 @@ 'use strict';

function toNum(any) {
return (!isBool(any) && Number(any)) || any;
let x = Number(any);
return !isBool(any) && (x * 0 === 0) ? x : any;
}

@@ -27,0 +28,0 @@

{
"name": "mri",
"version": "1.1.0",
"version": "1.1.1",
"description": "Quickly scan for CLI flags and arguments",

@@ -21,3 +21,2 @@ "license": "MIT",

"bench": "node bench",
"precommit": "prettier --single-quote --use-tabs --print-width=100 --write '{lib,test}/*.js'",
"test": "tape test/*.js | tap-spec"

@@ -32,7 +31,6 @@ },

"optimist",
"parser"
"parser",
"args"
],
"devDependencies": {
"husky": "^0.13.4",
"prettier": "^1.1.0",
"tap-spec": "^4.1.1",

@@ -39,0 +37,0 @@ "tape": "^4.6.3"

@@ -11,12 +11,12 @@ # mri [![Build Status](https://travis-ci.org/lukeed/mri.svg?branch=master)](https://travis-ci.org/lukeed/mri)

## Usage
## Install
Firstly, install the package:
```
$ npm install --save mri
npm install --save mri
```
Then start using it:
## Usage
```sh

@@ -153,3 +153,2 @@ $ demo-cli --foo --bar=baz -mtv -- hello world

## Benchmarks

@@ -166,5 +165,4 @@

## License
MIT © [Luke Edwards](https://lukeed.com)
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