mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 05:32:18 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
4
web/node_modules/is-regexp/index.js
generated
vendored
Normal file
4
web/node_modules/is-regexp/index.js
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
'use strict';
|
||||
module.exports = function (re) {
|
||||
return Object.prototype.toString.call(re) === '[object RegExp]';
|
||||
};
|
35
web/node_modules/is-regexp/package.json
generated
vendored
Normal file
35
web/node_modules/is-regexp/package.json
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"name": "is-regexp",
|
||||
"version": "1.0.0",
|
||||
"description": "Check whether a variable is a regular expression",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/is-regexp",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "http://sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"keywords": [
|
||||
"regex",
|
||||
"regexp",
|
||||
"regular",
|
||||
"expression",
|
||||
"regular expression",
|
||||
"re",
|
||||
"check",
|
||||
"type",
|
||||
"is"
|
||||
],
|
||||
"devDependencies": {
|
||||
"mocha": "*"
|
||||
}
|
||||
}
|
31
web/node_modules/is-regexp/readme.md
generated
vendored
Normal file
31
web/node_modules/is-regexp/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
# is-regexp [](https://travis-ci.org/sindresorhus/is-regexp)
|
||||
|
||||
> Check whether a variable is a regular expression
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save is-regexp
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isRegexp = require('is-regexp');
|
||||
|
||||
isRegexp('unicorn');
|
||||
//=> false
|
||||
|
||||
isRegexp(/unicorn/);
|
||||
//=> true
|
||||
|
||||
isRegexp(new RegExp('unicorn'));
|
||||
//=> true
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue