CoolFace
Apppublic

opusdev/vector-similarity-api

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes
README.md52 linesDownload Raw Back to methods
1# Methods2 3[![NPM Version][npm-image]][npm-url]4[![NPM Downloads][downloads-image]][downloads-url]5[![Node.js Version][node-version-image]][node-version-url]6[![Build Status][travis-image]][travis-url]7[![Test Coverage][coveralls-image]][coveralls-url]8 9HTTP verbs that Node.js core's HTTP parser supports.10 11This module provides an export that is just like `http.METHODS` from Node.js core,12with the following differences:13 14  * All method names are lower-cased.15  * Contains a fallback list of methods for Node.js versions that do not have a16    `http.METHODS` export (0.10 and lower).17  * Provides the fallback list when using tools like `browserify` without pulling18    in the `http` shim module.19 20## Install21 22```bash23$ npm install methods24```25 26## API27 28```js29var methods = require('methods')30```31 32### methods33 34This is an array of lower-cased method names that Node.js supports. If Node.js35provides the `http.METHODS` export, then this is the same array lower-cased,36otherwise it is a snapshot of the verbs from Node.js 0.10.37 38## License39 40[MIT](LICENSE)41 42[npm-image]: https://img.shields.io/npm/v/methods.svg?style=flat43[npm-url]: https://npmjs.org/package/methods44[node-version-image]: https://img.shields.io/node/v/methods.svg?style=flat45[node-version-url]: https://nodejs.org/en/download/46[travis-image]: https://img.shields.io/travis/jshttp/methods.svg?style=flat47[travis-url]: https://travis-ci.org/jshttp/methods48[coveralls-image]: https://img.shields.io/coveralls/jshttp/methods.svg?style=flat49[coveralls-url]: https://coveralls.io/r/jshttp/methods?branch=master50[downloads-image]: https://img.shields.io/npm/dm/methods.svg?style=flat51[downloads-url]: https://npmjs.org/package/methods52