@inst/vscode-bin-darwin
Version:
BINARY ONLY - VSCode binary deployment for macOS
90 lines (89 loc) • 7.09 kB
JSON
{
"_args": [
[
{
"raw": "oniguruma@https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"scope": null,
"escapedName": "oniguruma",
"name": "oniguruma",
"rawSpec": "https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"spec": "https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"type": "remote"
},
"/Users/code/tfs/agent3/_work/2/s"
]
],
"_from": "oniguruma@>=6.0.1 <7.0.0",
"_id": "oniguruma@6.1.1",
"_inCache": true,
"_location": "/oniguruma",
"_phantomChildren": {},
"_requested": {
"raw": "oniguruma@https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"scope": null,
"escapedName": "oniguruma",
"name": "oniguruma",
"rawSpec": "https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"spec": "https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/",
"/vscode-textmate"
],
"_resolved": "https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"_shasum": "1c7d96e53d116eb881dbe78b8355b4adc8225898",
"_shrinkwrap": null,
"_spec": "oniguruma@https://registry.npmjs.org/oniguruma/-/oniguruma-6.1.1.tgz",
"_where": "/Users/code/tfs/agent3/_work/2/s",
"bugs": {
"url": "https://github.com/atom/node-oniguruma/issues"
},
"dependencies": {
"nan": "^2.0.9"
},
"description": "oniguruma regular expression library",
"devDependencies": {
"async": "~0.9.0",
"coffee-script": "~1.9.1",
"coffeelint": "~1.9.2",
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-coffeelint": "0.0.13",
"grunt-contrib-coffee": "~0.13.0",
"grunt-shell": "~1.1.2",
"jasmine-focused": "~1.0.7",
"node-cpplint": "~0.4.0"
},
"gypfile": true,
"homepage": "http://atom.github.io/node-oniguruma",
"keywords": [
"regex",
"regexp",
"re",
"regular expression",
"async"
],
"licenses": [
{
"type": "MIT",
"url": "http://github.com/atom/node-oniguruma/raw/master/LICENSE.md"
}
],
"main": "./lib/oniguruma.js",
"name": "oniguruma",
"optionalDependencies": {},
"readme": "# Oniguruma Node module [](https://travis-ci.org/atom/node-oniguruma)\n\nNative Node bindings to the Oniguruma regular expressions library.\n\nRead all about Oniguruma regular expressions [here](http://oniguruma.rubyforge.org/oniguruma/files/Syntax_txt.html).\n\nVersion 2.0 of this library added an asynchronous API, the old synchronous\nmethods have been renamed to have a `Sync` suffix.\n\n## Installing\n\n```sh\nnpm install oniguruma\n```\n\n## Building\n * Clone the repository\n * Run `npm install`\n * Run `grunt` to compile the CoffeeScript and native code\n * Run `npm test` to run the specs\n\n## Using\n\n```coffeescript\n{OnigRegExp, OnigScanner} = require 'oniguruma'\n```\n\n### OnigScanner(patterns)\n\nCreate a new scanner with the given patterns.\n\n`patterns` - An array of string patterns.\n\n### OnigScanner::findNextMatch(string, startPosition, callback)\n\nFind the next match from a given position.\n\n`string` - The string to search.\n\n`startPosition` - The optional position to start at, defaults to `0`.\n\n`callback` - The `(error, match)` function to call when done, `match` will\nnull when there is no match.\n\n#### Example\n\n```coffeescript\nscanner = new OnigScanner(['c', 'a(b)?'])\nscanner.findNextMatch 'abc', (error, match) ->\n console.log match\n {\n index: 1, # Index of the best pattern match\n captureIndices: [\n {index: 0, start: 0, end: 2, length: 2}, # Entire match\n {index: 1, start: 1, end: 2, length: 1} # Match of first capture group\n ]\n }\n```\n\n### OnigScanner::findNextMatchSync(string, startPosition)\n\nSynchronously find the next match from a given position.\n\n`string` - The string to search.\n\n`startPosition` - The optional position to start at, defaults to `0`.\n\nReturns an object containing details about the match or `null` if no match.\n\n#### Example\n\n```coffeescript\nscanner = new OnigScanner(['c', 'a(b)?'])\nmatch = scanner.findNextMatchSync('abc')\nconsole.log match\n{\n index: 1, # Index of the best pattern match\n captureIndices: [\n {index: 0, start: 0, end: 2, length: 2}, # Entire match\n {index: 1, start: 1, end: 2, length: 1} # Match of first capture group\n ]\n}\n```\n\n### OnigRegExp(pattern)\n\nCreate a new regex with the given pattern.\n\n`pattern` - A string pattern.\n\n### OnigRegExp::search(string, startPosition, callback)\n\nSearch the string for a match starting at the given position.\n\n`string` - The string to search.\n\n`startPosition` - The optional position to start the search at, defaults to `0`.\n\n`callback` - The `(error, match)` function to call when done, `match` will be\nnull if no matches were found. `match` will be an array of objects for each\nmatched group on a successful search.\n\n#### Example\n\n```coffeescript\nregex = new OnigRegExp('a([b-d])c')\nregex.search '!abcdef', (error, match) ->\n console.log match\n [\n {index: 0, start: 1, end: 4, match: 'abc', length: 3}, # Entire match\n {index: 1, start: 2, end: 3, match: 'b', length: 1} # Match of first capture group\n ]\n```\n\n### OnigRegExp::searchSync(string, startPosition)\n\nSynchronously search the string for a match starting at the given position.\n\n`string` - The string to search.\n\n`startPosition` - The optional position to start the search at, defaults to `0`.\n\nReturns an array of objects for each matched group or `null` if no match was\nfound.\n\n#### Example\n\n```coffeescript\nregex = new OnigRegExp('a([b-d])c')\nmatch = regex.searchSync('!abcdef')\nconsole.log match\n[\n {index: 0, start: 1, end: 4, match: 'abc', length: 3}, # Entire match\n {index: 1, start: 2, end: 3, match: 'b', length: 1} # Match of first capture group\n]\n```\n\n### OnigRegExp::test(string, callback)\n\nTest if this regular expression matches the given string.\n\n`string` - The string to test against.\n\n`callback` - The `(error, matches)` function to call when done, `matches` will\nbe `true` if at least one match is found, `false` otherwise.\n\n#### Example\n\n```coffeescript\nregex = new OnigRegExp('a([b-d])c')\nregex.test 'abcdef', (error, matches) ->\n console.log matches # true\n```\n\n### OnigRegExp::testSync(string)\n\nSynchronously test if this regular expression matches the given string.\n\n`string` - The string to test against.\n\nReturns `true` if at least one match, `false` otherwise.\n\n#### Example\n\n```coffeescript\nregex = new OnigRegExp('a([b-d])c')\nmatches = regex.testSync('abcdef')\nconsole.log matches # true\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/atom/node-oniguruma.git"
},
"scripts": {
"benchmark": "benchmark/benchmark.coffee",
"install": "node-gyp rebuild",
"prepublish": "grunt publish",
"test": "grunt test"
},
"version": "6.1.1"
}