From 7d5a0696ccc642db0d14aae8677ecada40bf85d1 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 2 Aug 2018 16:50:59 -0700 Subject: inital commit --- node_modules/repeating/index.js | 24 ------------- node_modules/repeating/license | 21 ----------- node_modules/repeating/package.json | 69 ------------------------------------- node_modules/repeating/readme.md | 30 ---------------- 4 files changed, 144 deletions(-) delete mode 100644 node_modules/repeating/index.js delete mode 100644 node_modules/repeating/license delete mode 100644 node_modules/repeating/package.json delete mode 100644 node_modules/repeating/readme.md (limited to 'node_modules/repeating') diff --git a/node_modules/repeating/index.js b/node_modules/repeating/index.js deleted file mode 100644 index ccae0d7..0000000 --- a/node_modules/repeating/index.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; -var isFinite = require('is-finite'); - -module.exports = function (str, n) { - if (typeof str !== 'string') { - throw new TypeError('Expected `input` to be a string'); - } - - if (n < 0 || !isFinite(n)) { - throw new TypeError('Expected `count` to be a positive finite number'); - } - - var ret = ''; - - do { - if (n & 1) { - ret += str; - } - - str += str; - } while ((n >>= 1)); - - return ret; -}; diff --git a/node_modules/repeating/license b/node_modules/repeating/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/repeating/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -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/repeating/package.json b/node_modules/repeating/package.json deleted file mode 100644 index 37a9719..0000000 --- a/node_modules/repeating/package.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "_from": "repeating@^2.0.0", - "_id": "repeating@2.0.1", - "_inBundle": false, - "_integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "_location": "/repeating", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "repeating@^2.0.0", - "name": "repeating", - "escapedName": "repeating", - "rawSpec": "^2.0.0", - "saveSpec": null, - "fetchSpec": "^2.0.0" - }, - "_requiredBy": [ - "/indent-string" - ], - "_resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "_shasum": "5214c53a926d3552707527fbab415dbc08d06dda", - "_spec": "repeating@^2.0.0", - "_where": "/Users/armanshah/Desktop/node-projects/shopping-list/node_modules/indent-string", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/repeating/issues" - }, - "bundleDependencies": false, - "dependencies": { - "is-finite": "^1.0.0" - }, - "deprecated": false, - "description": "Repeat a string - fast", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/sindresorhus/repeating#readme", - "keywords": [ - "repeat", - "string", - "repeating", - "str", - "text", - "fill", - "pad" - ], - "license": "MIT", - "name": "repeating", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/repeating.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "2.0.1" -} diff --git a/node_modules/repeating/readme.md b/node_modules/repeating/readme.md deleted file mode 100644 index 06f0b69..0000000 --- a/node_modules/repeating/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -# repeating [![Build Status](https://travis-ci.org/sindresorhus/repeating.svg?branch=master)](https://travis-ci.org/sindresorhus/repeating) - -> Repeat a string - fast - - -## Install - -``` -$ npm install --save repeating -``` - - -## Usage - -```js -const repeating = require('repeating'); - -repeating('unicorn ', 100); -//=> 'unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn ' -``` - - -## Related - -- [repeating-cli](https://github.com/sindresorhus/repeating-cli) - CLI for this module - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) -- cgit v1.2.3