Sha256: 919e2a8a4ebe4b01a0151964791ac00f06db5d6158260e67dead68fdb4acd013
Contents?: true
Size: 1.95 KB
Versions: 62
Compression:
Stored size: 1.95 KB
Contents
{ "name": "escape-string-regexp", "version": "1.0.3", "description": "Escape RegExp special characters", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/escape-string-regexp.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "http://sindresorhus.com" }, "maintainers": [ { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "http://sindresorhus.com" }, { "name": "Joshua Appelman", "email": "jappelman@xebia.com", "url": "http://jbnicolai.com" } ], "engines": { "node": ">=0.8.0" }, "scripts": { "test": "mocha" }, "files": [ "index.js" ], "keywords": [ "regex", "regexp", "re", "regular", "expression", "escape", "string", "str", "special", "characters" ], "devDependencies": { "mocha": "*" }, "readme": "# escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp)\n\n> Escape RegExp special characters\n\n\n## Install\n\n```sh\n$ npm install --save escape-string-regexp\n```\n\n\n## Usage\n\n```js\nvar escapeStringRegexp = require('escape-string-regexp');\n\nvar escapedString = escapeStringRegexp('how much $ for a unicorn?');\n//=> how much \\$ for a unicorn\\?\n\nnew RegExp(escapedString);\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "bugs": { "url": "https://github.com/sindresorhus/escape-string-regexp/issues" }, "homepage": "https://github.com/sindresorhus/escape-string-regexp#readme", "_id": "escape-string-regexp@1.0.3", "_shasum": "9e2d8b25bc2555c3336723750e03f099c2735bb5", "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz", "_from": "escape-string-regexp@>=1.0.2 <2.0.0" }
Version data entries
62 entries across 62 versions & 1 rubygems