aboutsummaryrefslogtreecommitdiff
path: root/node_modules/is-odd
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/is-odd
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
update packages
Diffstat (limited to 'node_modules/is-odd')
-rw-r--r--node_modules/is-odd/LICENSE21
-rw-r--r--node_modules/is-odd/README.md80
-rw-r--r--node_modules/is-odd/index.js20
-rw-r--r--node_modules/is-odd/package.json66
4 files changed, 0 insertions, 187 deletions
diff --git a/node_modules/is-odd/LICENSE b/node_modules/is-odd/LICENSE
deleted file mode 100644
index 83b56e709..000000000
--- a/node_modules/is-odd/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2015-2017, Jon Schlinkert
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/node_modules/is-odd/README.md b/node_modules/is-odd/README.md
deleted file mode 100644
index 514db35dc..000000000
--- a/node_modules/is-odd/README.md
+++ /dev/null
@@ -1,80 +0,0 @@
-# is-odd [![NPM version](https://img.shields.io/npm/v/is-odd.svg?style=flat)](https://www.npmjs.com/package/is-odd) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-odd.svg?style=flat)](https://npmjs.org/package/is-odd) [![NPM total downloads](https://img.shields.io/npm/dt/is-odd.svg?style=flat)](https://npmjs.org/package/is-odd) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-odd.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-odd)
-
-> Returns true if the given number is odd.
-
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install --save is-odd
-```
-
-## Usage
-
-```js
-var isOdd = require('is-odd');
-
-isOdd(0);
-//=> false
-isOdd('1');
-//=> true
-isOdd(2);
-//=> false
-isOdd('3');
-//=> true
-```
-
-## About
-
-### Related projects
-
-* [exponential-moving-average](https://www.npmjs.com/package/exponential-moving-average): Calculate an exponential moving average from an array of numbers. | [homepage](https://github.com/jonschlinkert/exponential-moving-average "Calculate an exponential moving average from an array of numbers.")
-* [is-even](https://www.npmjs.com/package/is-even): Return true if the given number is even. | [homepage](https://github.com/jonschlinkert/is-even "Return true if the given number is even.")
-* [sma](https://www.npmjs.com/package/sma): Calculate the simple moving average of an array. | [homepage](https://github.com/doowb/sma "Calculate the simple moving average of an array.")
-
-### Contributing
-
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-
-### Contributors
-
-| **Commits** | **Contributor** |
-| --- | --- |
-| 8 | [jonschlinkert](https://github.com/jonschlinkert) |
-| 2 | [noformnocontent](https://github.com/noformnocontent) |
-| 1 | [Semigradsky](https://github.com/Semigradsky) |
-
-### Building docs
-
-_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
-
-To generate the readme, run the following command:
-
-```sh
-$ npm install -g verbose/verb#dev verb-generate-readme && verb
-```
-
-### Running tests
-
-Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
-
-```sh
-$ npm install && npm test
-```
-
-### Author
-
-**Jon Schlinkert**
-
-* [github/jonschlinkert](https://github.com/jonschlinkert)
-* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
-
-### License
-
-Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
-Released under the [MIT License](LICENSE).
-
-***
-
-_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 27, 2017._ \ No newline at end of file
diff --git a/node_modules/is-odd/index.js b/node_modules/is-odd/index.js
deleted file mode 100644
index c8950c17b..000000000
--- a/node_modules/is-odd/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*!
- * is-odd <https://github.com/jonschlinkert/is-odd>
- *
- * Copyright (c) 2015-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
-
-'use strict';
-
-var isNumber = require('is-number');
-
-module.exports = function isOdd(i) {
- if (!isNumber(i)) {
- throw new TypeError('is-odd expects a number.');
- }
- if (Number(i) !== Math.floor(i)) {
- throw new RangeError('is-odd expects an integer.');
- }
- return !!(~~i & 1);
-};
diff --git a/node_modules/is-odd/package.json b/node_modules/is-odd/package.json
deleted file mode 100644
index 939355433..000000000
--- a/node_modules/is-odd/package.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "name": "is-odd",
- "description": "Returns true if the given number is odd.",
- "version": "1.0.0",
- "homepage": "https://github.com/jonschlinkert/is-odd",
- "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
- "contributors": [
- "Dmitry Semigradsky (http://brainstorage.me/semigradsky)",
- "DYM (http://dym.sh)",
- "Jon Schlinkert (http://twitter.com/jonschlinkert)"
- ],
- "repository": "jonschlinkert/is-odd",
- "bugs": {
- "url": "https://github.com/jonschlinkert/is-odd/issues"
- },
- "license": "MIT",
- "files": [
- "index.js"
- ],
- "main": "index.js",
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "mocha"
- },
- "dependencies": {
- "is-number": "^3.0.0"
- },
- "devDependencies": {
- "gulp-format-md": "^0.1.11",
- "mocha": "^3.2.0"
- },
- "keywords": [
- "array",
- "count",
- "even",
- "filter",
- "integer",
- "is",
- "math",
- "numeric",
- "odd",
- "string"
- ],
- "verb": {
- "toc": false,
- "layout": "default",
- "tasks": [
- "readme"
- ],
- "plugins": [
- "gulp-format-md"
- ],
- "related": {
- "list": [
- "exponential-moving-average",
- "is-even",
- "sma"
- ]
- },
- "lint": {
- "reflinks": true
- }
- }
-}