Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

package.json 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "_args": [
  3. [
  4. "streamsearch@~0.1.2",
  5. "/home/lyxaira/Artesanias/artesanias/node_modules/ssh2-streams"
  6. ]
  7. ],
  8. "_from": "streamsearch@>=0.1.2 <0.2.0",
  9. "_id": "streamsearch@0.1.2",
  10. "_inCache": true,
  11. "_installable": true,
  12. "_location": "/streamsearch",
  13. "_npmUser": {
  14. "email": "mscdex@mscdex.net",
  15. "name": "mscdex"
  16. },
  17. "_npmVersion": "1.2.18",
  18. "_phantomChildren": {},
  19. "_requested": {
  20. "name": "streamsearch",
  21. "raw": "streamsearch@~0.1.2",
  22. "rawSpec": "~0.1.2",
  23. "scope": null,
  24. "spec": ">=0.1.2 <0.2.0",
  25. "type": "range"
  26. },
  27. "_requiredBy": [
  28. "/ssh2-streams"
  29. ],
  30. "_resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
  31. "_shasum": "808b9d0e56fc273d809ba57338e929919a1a9f1a",
  32. "_shrinkwrap": null,
  33. "_spec": "streamsearch@~0.1.2",
  34. "_where": "/home/lyxaira/Artesanias/artesanias/node_modules/ssh2-streams",
  35. "author": {
  36. "email": "mscdex@mscdex.net",
  37. "name": "Brian White"
  38. },
  39. "bugs": {
  40. "url": "https://github.com/mscdex/streamsearch/issues"
  41. },
  42. "dependencies": {},
  43. "description": "Streaming Boyer-Moore-Horspool searching for node.js",
  44. "devDependencies": {},
  45. "directories": {},
  46. "dist": {
  47. "shasum": "808b9d0e56fc273d809ba57338e929919a1a9f1a",
  48. "tarball": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz"
  49. },
  50. "engines": {
  51. "node": ">=0.8.0"
  52. },
  53. "homepage": "https://github.com/mscdex/streamsearch#readme",
  54. "keywords": [
  55. "boyer-moore",
  56. "boyer-moore-horspool",
  57. "horspool",
  58. "search",
  59. "stream"
  60. ],
  61. "licenses": [
  62. {
  63. "type": "MIT",
  64. "url": "http://github.com/mscdex/streamsearch/raw/master/LICENSE"
  65. }
  66. ],
  67. "main": "./lib/sbmh",
  68. "maintainers": [
  69. {
  70. "name": "mscdex",
  71. "email": "mscdex@mscdex.net"
  72. }
  73. ],
  74. "name": "streamsearch",
  75. "optionalDependencies": {},
  76. "readme": "Description\n===========\n\nstreamsearch is a module for [node.js](http://nodejs.org/) that allows searching a stream using the Boyer-Moore-Horspool algorithm.\n\nThis module is based heavily on the Streaming Boyer-Moore-Horspool C++ implementation by Hongli Lai [here](https://github.com/FooBarWidget/boyer-moore-horspool).\n\n\nRequirements\n============\n\n* [node.js](http://nodejs.org/) -- v0.8.0 or newer\n\n\nInstallation\n============\n\n npm install streamsearch\n\nExample\n=======\n\n```javascript\n var StreamSearch = require('streamsearch'),\n inspect = require('util').inspect;\n\n var needle = new Buffer([13, 10]), // CRLF\n s = new StreamSearch(needle),\n chunks = [\n new Buffer('foo'),\n new Buffer(' bar'),\n new Buffer('\\r'),\n new Buffer('\\n'),\n new Buffer('baz, hello\\r'),\n new Buffer('\\n world.'),\n new Buffer('\\r\\n Node.JS rules!!\\r\\n\\r\\n')\n ];\n s.on('info', function(isMatch, data, start, end) {\n if (data)\n console.log('data: ' + inspect(data.toString('ascii', start, end)));\n if (isMatch)\n console.log('match!');\n });\n for (var i = 0, len = chunks.length; i < len; ++i)\n s.push(chunks[i]);\n\n // output:\n //\n // data: 'foo'\n // data: ' bar'\n // match!\n // data: 'baz, hello'\n // match!\n // data: ' world.'\n // match!\n // data: ' Node.JS rules!!'\n // match!\n // data: ''\n // match!\n```\n\n\nAPI\n===\n\nEvents\n------\n\n* **info**(< _boolean_ >isMatch[, < _Buffer_ >chunk, < _integer_ >start, < _integer_ >end]) - A match _may_ or _may not_ have been made. In either case, a preceding `chunk` of data _may_ be available that did not match the needle. Data (if available) is in `chunk` between `start` (inclusive) and `end` (exclusive).\n\n\nProperties\n----------\n\n* **maxMatches** - < _integer_ > - The maximum number of matches. Defaults to Infinity.\n\n* **matches** - < _integer_ > - The current match count.\n\n\nFunctions\n---------\n\n* **(constructor)**(< _mixed_ >needle) - Creates and returns a new instance for searching for a _Buffer_ or _string_ `needle`.\n\n* **push**(< _Buffer_ >chunk) - _integer_ - Processes `chunk`. The return value is the last processed index in `chunk` + 1.\n\n* **reset**() - _(void)_ - Resets internal state. Useful for when you wish to start searching a new/different stream for example.\n",
  77. "readmeFilename": "README.md",
  78. "repository": {
  79. "type": "git",
  80. "url": "git+ssh://git@github.com/mscdex/streamsearch.git"
  81. },
  82. "scripts": {},
  83. "version": "0.1.2"
  84. }