/node_modules/elasticsearch/package.json

https://github.com/DOKKA/nodejs-elasticsearch · JSON · 99 lines · 99 code · 0 blank · 0 comment · 0 complexity · cb7b7a35c0d33fda2d4af24947057dd5 MD5 · raw file

  1. {
  2. "author": {
  3. "name": "Spencer Alger"
  4. },
  5. "name": "elasticsearch",
  6. "description": "The official low-level Elasticsearch client for Node.js and the browser.",
  7. "main": "src/elasticsearch.js",
  8. "homepage": "http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/index.html",
  9. "version": "2.2.0",
  10. "browser": {
  11. "./src/lib/connectors/index.js": "./src/lib/connectors/browser_index.js",
  12. "./src/lib/loggers/index.js": "./src/lib/loggers/browser_index.js",
  13. "./src/lib/apis/index.js": "./src/lib/apis/browser_index.js",
  14. "./test/mocks/server.js": "./test/mocks/browser_server.js",
  15. "lodash": "./node_modules/lodash/dist/lodash.compat.js"
  16. },
  17. "config": {
  18. "blanket": {
  19. "pattern": "specified in test/unit/coverage.js"
  20. },
  21. "supported_es_branches": [
  22. "1.2",
  23. "1.1",
  24. "1.0",
  25. "0.90"
  26. ],
  27. "unstable_es_branches": [
  28. "master",
  29. "1.x"
  30. ],
  31. "default_api_branch": "1.2"
  32. },
  33. "devDependencies": {
  34. "mocha": "^1.18.2",
  35. "async": "~0.8.0",
  36. "moment": "~2.4.0",
  37. "js-yaml": "~2.1.3",
  38. "optimist": "~0.6.0",
  39. "browserify": "~2.35.1",
  40. "grunt": "~0.4.1",
  41. "grunt-contrib-jshint": "~0.7.1",
  42. "grunt-browserify": "~1.2.11",
  43. "grunt-contrib-clean": "~0.5.0",
  44. "grunt-contrib-uglify": "~0.2.7",
  45. "grunt-contrib-concat": "~0.3.0",
  46. "xmlbuilder": "~0.4.3",
  47. "grunt-contrib-watch": "~0.5.3",
  48. "mocha-lcov-reporter": "0.0.1",
  49. "blanket": "~1.1.5",
  50. "sinon": "~1.7.3",
  51. "nock": "~0.28.1",
  52. "open": "0.0.4",
  53. "load-grunt-tasks": "~0.2.0",
  54. "load-grunt-config": "~0.7.0",
  55. "grunt-s3": "~0.2.0-alpha.3",
  56. "grunt-run": "~0.2.2",
  57. "grunt-contrib-compress": "~0.5.3",
  58. "grunt-contrib-copy": "~0.4.1",
  59. "grunt-prompt": "~0.1.2",
  60. "grunt-mocha-cov": "~0.2.0",
  61. "grunt-open": "~0.2.2",
  62. "glob": "~3.2.7",
  63. "expect.js": "~0.2.0",
  64. "aliasify": "~1.2.4",
  65. "express": "~3.4.7",
  66. "find-root": "~0.1.1",
  67. "event-stream": "~3.1.0",
  68. "grunt-saucelabs": "~5.1.0"
  69. },
  70. "license": "Apache 2.0",
  71. "dependencies": {
  72. "chalk": "~0.4",
  73. "forever-agent": "0.5.2",
  74. "lodash-node": "~2.4",
  75. "bluebird": "~1.2.1"
  76. },
  77. "repository": {
  78. "type": "git",
  79. "url": "http://github.com/elasticsearch/elasticsearch-js.git"
  80. },
  81. "scripts": {
  82. "test": "grunt test",
  83. "generate": "node scripts/generate"
  84. },
  85. "engines": {
  86. "node": ">=0.8 <0.11"
  87. },
  88. "readme": "# elasticsearch.js\n\nThe official low-level Elasticsearch client for Node.js and the browser.\n\n[![Build Status](https://travis-ci.org/elasticsearch/elasticsearch-js.png?branch=2.1)](https://travis-ci.org/elasticsearch/elasticsearch-js?branch=2.1) [![Coverage Status](https://coveralls.io/repos/elasticsearch/elasticsearch-js/badge.png?branch=2.1)](https://coveralls.io/r/elasticsearch/elasticsearch-js?branch=2.1) [![Dependencies up to date](https://david-dm.org/elasticsearch/elasticsearch-js.png)](https://david-dm.org/elasticsearch/elasticsearch-js)\n\n## Features\n\n - One-to-one mapping with REST API and the other official clients\n - Generalized, pluggable architecture. See [Extending Core Components](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/extending_core_components.html)\n - Configurable, automatic discovery of cluster nodes\n - Persistent, Keep-Alive connections\n - Load balancing (with pluggable selection strategy) across all available nodes.\n\n## Install in Node.js\n\n```\nnpm install elasticsearch\n```\n\n<!-- wow bling -->\n[![NPM Stats](https://nodei.co/npm/elasticsearch.png?downloads=true)](https://npmjs.org/package/elasticsearch)\n\n## Browser Builds\n\n[![Selenium Tests Status](https://saucelabs.com/browser-matrix/elasticsearch-js.svg)](https://saucelabs.com/u/elasticsearch-js)\n\nWe also provide builds of the elasticsearch.js client for use in the browser. These versions of the client are currently *experimental*. More information is available [here](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/browser-builds.html).\n\n### Bower\nIf you use bower to manage your dependencies, then just run:\n```\nbower install elasticsearch\n```\n\n### Download\n - v2.2.0: [zip](https://download.elasticsearch.org/elasticsearch/elasticsearch-js/elasticsearch-js-2.2.0.zip), [tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch-js/elasticsearch-js-2.2.0.tar.gz)\n\n## Docs\n - [Quick Start](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/quick-start.html)\n - [Browser Builds](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/browser-builds.html)\n - [API](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/api-reference.html)\n - [Configuration](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/configuration.html)\n - [Development/Contributing](https://github.com/elasticsearch/elasticsearch-js/blob/master/CONTRIBUTING.md)\n - [Extending Core Components](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/extending_core_components.html)\n - [Logging](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/logging.html)\n\n## Supported Elasticsearch Versions\n\n[Jenkins](http://build.elasticsearch.com/job/es-js_nightly/)\n\nElasticsearch.js provides support for, and is regularly tested against, Elasticsearch releases **0.90.5 and greater**. We also test against the latest changes in several branches in the Elasticsearch repository. To tell the client which version of Elastisearch you are using, and therefore the API it should provide, set the `apiVersion` config param. [More info](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/configuration.html#_config_options)\n\n## Examples\n\nCreate a client instance\n```js\nvar elasticsearch = require('elasticsearch');\nvar client = new elasticsearch.Client({\n host: 'localhost:9200',\n log: 'trace'\n});\n```\n\nSend a HEAD request to `/?hello=elasticsearch` and allow up to 1 second for it to complete.\n```js\nclient.ping({\n // ping usually has a 100ms timeout\n requestTimeout: 1000,\n\n // undocumented params are appended to the query string\n hello: \"elasticsearch!\"\n}, function (error) {\n if (error) {\n console.trace('elasticsearch cluster is down!');\n } else {\n console.log('All is well');\n }\n});\n```\n\nSkip the callback to get a promise back\n```js\nclient.search({\n q: 'pants'\n}).then(function (body) {\n var hits = body.hits.hits;\n}, function (error) {\n console.trace(error.message);\n});\n```\n\nFind tweets that have \"elasticsearch\" in their body field\n```js\nclient.search({\n index: 'twitter',\n type: 'tweets',\n body: {\n query: {\n match: {\n body: 'elasticsearch'\n }\n }\n }\n}).then(function (resp) {\n var hits = resp.hits.hits;\n}, function (err) {\n console.trace(err.message);\n});\n```\n\nMore examples and detailed information about each method are available [here](http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/index.html)\n\n## License\n\nThis software is licensed under the Apache 2 license, quoted below.\n\n Copyright (c) 2014 Elasticsearch <http://www.elasticsearch.org>\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n",
  89. "readmeFilename": "README.md",
  90. "bugs": {
  91. "url": "https://github.com/elasticsearch/elasticsearch-js/issues"
  92. },
  93. "_id": "elasticsearch@2.2.0",
  94. "dist": {
  95. "shasum": "04a8d5aa7ee05b33ebfd86ab786787f4c6a0e18f"
  96. },
  97. "_from": "elasticsearch@",
  98. "_resolved": "https://registry.npmjs.org/elasticsearch/-/elasticsearch-2.2.0.tgz"
  99. }