WIP - add extractor, generate snippet_data

This commit is contained in:
Stefan Fejes
2019-08-20 15:52:05 +02:00
parent 88084d3d30
commit cc8f1d8a7a
37396 changed files with 4588842 additions and 133 deletions

4
node_modules/is-regexp/index.js generated vendored Normal file
View File

@ -0,0 +1,4 @@
'use strict';
module.exports = function (re) {
return Object.prototype.toString.call(re) === '[object RegExp]';
};

67
node_modules/is-regexp/package.json generated vendored Normal file
View File

@ -0,0 +1,67 @@
{
"_from": "is-regexp@^1.0.0",
"_id": "is-regexp@1.0.0",
"_inBundle": false,
"_integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=",
"_location": "/is-regexp",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "is-regexp@^1.0.0",
"name": "is-regexp",
"escapedName": "is-regexp",
"rawSpec": "^1.0.0",
"saveSpec": null,
"fetchSpec": "^1.0.0"
},
"_requiredBy": [
"/stringify-object"
],
"_resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",
"_shasum": "fd2d883545c46bac5a633e7b9a09e87fa2cb5069",
"_spec": "is-regexp@^1.0.0",
"_where": "/Users/stefanfejes/Projects/30-seconds-of-python-code/node_modules/stringify-object",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/is-regexp/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Check whether a variable is a regular expression",
"devDependencies": {
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/is-regexp#readme",
"keywords": [
"regex",
"regexp",
"regular",
"expression",
"regular expression",
"re",
"check",
"type",
"is"
],
"license": "MIT",
"name": "is-regexp",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/is-regexp.git"
},
"scripts": {
"test": "mocha"
},
"version": "1.0.0"
}

31
node_modules/is-regexp/readme.md generated vendored Normal file
View File

@ -0,0 +1,31 @@
# is-regexp [![Build Status](https://travis-ci.org/sindresorhus/is-regexp.svg?branch=master)](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)