diff options
Diffstat (limited to 'node_modules/filename-regex')
-rw-r--r-- | node_modules/filename-regex/LICENSE | 21 | ||||
-rw-r--r-- | node_modules/filename-regex/README.md | 63 | ||||
-rw-r--r-- | node_modules/filename-regex/index.js | 10 | ||||
-rw-r--r-- | node_modules/filename-regex/package.json | 50 |
4 files changed, 0 insertions, 144 deletions
diff --git a/node_modules/filename-regex/LICENSE b/node_modules/filename-regex/LICENSE deleted file mode 100644 index d290fe00b..000000000 --- a/node_modules/filename-regex/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-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/filename-regex/README.md b/node_modules/filename-regex/README.md deleted file mode 100644 index 2b6b06999..000000000 --- a/node_modules/filename-regex/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# filename-regex [](https://www.npmjs.com/package/filename-regex) [](https://npmjs.org/package/filename-regex) [](https://npmjs.org/package/filename-regex) [](https://travis-ci.org/regexhq/filename-regex) - -> Regular expression for matching file names, with or without extension. - -## Install - -Install with [npm](https://www.npmjs.com/): - -```sh -$ npm install --save filename-regex -``` - -## Usage - -```js -var regex = require('filename-regex'); - -'a/b/c/d.min.js'.match(regex()); -//=> match[0] = 'd.min.js' - -'a/b/c/.dotfile'.match(regex()); -//=> match[0] = '.dotfile' -``` - -## About - -### Contributing - -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). - -### 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.4.3, on April 28, 2017._
\ No newline at end of file diff --git a/node_modules/filename-regex/index.js b/node_modules/filename-regex/index.js deleted file mode 100644 index bb1888b4a..000000000 --- a/node_modules/filename-regex/index.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * filename-regex <https://github.com/regexps/filename-regex> - * - * Copyright (c) 2014-2015, Jon Schlinkert - * Licensed under the MIT license. - */ - -module.exports = function filenameRegex() { - return /([^\\\/]+)$/; -}; diff --git a/node_modules/filename-regex/package.json b/node_modules/filename-regex/package.json deleted file mode 100644 index f79bafb3e..000000000 --- a/node_modules/filename-regex/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "filename-regex", - "description": "Regular expression for matching file names, with or without extension.", - "version": "2.0.1", - "homepage": "https://github.com/regexhq/filename-regex", - "author": "Jon Schlinkert (https://github.com/jonschlinkert)", - "repository": "regexhq/filename-regex", - "bugs": { - "url": "https://github.com/regexhq/filename-regex/issues" - }, - "license": "MIT", - "files": [ - "index.js" - ], - "main": "index.js", - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "mocha" - }, - "keywords": [ - "basename", - "file", - "filename", - "filepath", - "match", - "name", - "path", - "regex", - "regexp", - "regular expression" - ], - "devDependencies": { - "gulp-format-md": "^0.1.12" - }, - "verb": { - "toc": false, - "layout": "default", - "tasks": [ - "readme" - ], - "plugins": [ - "gulp-format-md" - ], - "lint": { - "reflinks": true - } - } -} |