add lisp packages
This commit is contained in:
4
lisp/emacs-application-framework/app/mermaid/node_modules/is-regexp/index.js
generated
vendored
Normal file
4
lisp/emacs-application-framework/app/mermaid/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
lisp/emacs-application-framework/app/mermaid/node_modules/is-regexp/package.json
generated
vendored
Normal file
35
lisp/emacs-application-framework/app/mermaid/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
lisp/emacs-application-framework/app/mermaid/node_modules/is-regexp/readme.md
generated
vendored
Normal file
31
lisp/emacs-application-framework/app/mermaid/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)
|
||||
Reference in New Issue
Block a user