Site Search

Search LifeStyle Racing

Search public page files, titles, headings, and visible text with stronger weighting for exact matches, filenames, headings, sections, and motorsport-related synonyms.

Query: "Usage" 195 results 1,788 files checked 805.0 ms
Best for static page content. Product database search, account-only data, and forum content would need an additional database or API-backed layer later if you want those included too.
Complete Match Node Modules.4184 / Debug Node_Modules.4184/debug/README.md

README

...[here](https://github.com/visionmedia/debug/issues/370)** ## Installation ```bash $ npm install debug ``` ## Usage `debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle...

Complete Match Node Modules.4184 / Memory Pager Node_Modules.4184/memory-pager/README.md

README

...![travis](https://travis-ci.org/mafintosh/memory-pager.svg?branch=master) ``` npm install memory-pager ``` ## Usage ``` js var pager = require('paged-memory') var pages = pager(1024) // use 1kb per page var page = pages.get(10) // get page #10 console.log(page.offset) // 10240 console.log(page.buffer) // a blank 1kb bu...

Complete Match Node Modules.4184 / Socket.io Parser Node_Modules.4184/socket.io-parser/Readme.md

Readme

...l. Read the full API here: [socket.io-protocol](https://github.com/learnboost/socket.io-protocol). ## Example Usage ### Encoding and decoding a packet ```js var parser = require('socket.io-parser'); var encoder = new parser.Encoder(); var packet = { type: parser.EVENT, data: 'test-packet', id: 13 }; encoder.encode(pack...

Complete Match Node Modules.4184 / Set Function Length Node_Modules.4184/set-function-length/README.md

README

.... - `loose`: Optional. If true, and the length fails to be set, do not throw. Default false. Returns `fn`. ## Usage ```javascript var setFunctionLength = require('set-function-length'); var assert = require('assert'); function zero() {} function one(_) {} function two(_, __) {} assert.equal(zero.length, 0); assert.equa...

Complete Match Node Modules.4184 / Buffer From Node_Modules.4184/buffer-from/readme.md

Readme

...r.from`, uses native implementation if available. ## Installation ```sh npm install --save buffer-from ``` ## Usage ```js const bufferFrom = require('buffer-from') console.log(bufferFrom([1, 2, 3, 4])) //=> const arr = new Uint8Array([1, 2, 3, 4]) console.log(bufferFrom(arr.buffer, 1, 2)) //=> console.log(bufferFrom('t...

Complete Match Node Modules.4184 / Delayed Stream Node_Modules.4184/delayed-stream/Readme.md

Readme

...from a stream until you are ready to handle them. ## Installation ``` bash npm install delayed-stream ``` ## Usage The following example shows how to write a http echo server that delays its response by 1000 ms. ``` javascript var DelayedStream = require('delayed-stream'); var http = require('http'); http.createServer...

Complete Match Node Modules.4184 / Append Field Node_Modules.4184/append-field/README.md

README

...bles from the prototype (e.g. `hasOwnProperty`). ## Installation ```sh npm install --save append-field ``` ## Usage ```javascript var appendField = require('append-field') var obj = Object.create(null) appendField(obj, 'pets[0][species]', 'Dahut') appendField(obj, 'pets[0][name]', 'Hypatia') appendField(obj, 'pets[1][s...

Complete Match Node Modules.4184 / Array Flatten Node_Modules.4184/array-flatten/README.md

README

...o a single flat array. Accepts an optional depth. ## Installation ``` npm install array-flatten --save ``` ## Usage ```javascript var flatten = require('array-flatten') flatten([1, [2, [3, [4, [5], 6], 7], 8], 9]) //=> [1, 2, 3, 4, 5, 6, 7, 8, 9] flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2) //=> [1, 2, 3, [4, [5], 6...

Complete Match Node Modules.4184 / Uid Safe Node_Modules.4184/uid-safe/README.md

README

...e]][coveralls-url] URL and cookie safe UIDs Create cryptographically secure UIDs safe for both cookie and URL usage. This is in contrast to modules such as [rand-token](https://www.npmjs.com/package/rand-token) and [uid2](https://www.npmjs.com/package/uid2) whose UIDs are actually skewed due to the use of `%` and unnec...

Complete Match Node Modules.4184 / Path To Regexp Node_Modules.4184/path-to-regexp/Readme.md

Readme

...s `/user/:name` into a regular expression. **Note:** This is a legacy branch. You should upgrade to `1.x`. ## Usage ```javascript var pathToRegexp = require('path-to-regexp'); ``` ### pathToRegexp(path, keys, options) - **path** A string in the express format, an array of such strings, or a regular expression - **keys*...

Complete Match Node Modules.4184 / Uuid Node_Modules.4184/uuid/README.md

README

...4 UUIDS, however the other versions are supported. Type `uuid --help` for details: ```shell $ npx uuid --help Usage: uuid uuid v1 uuid v3 uuid v4 uuid v5 uuid v7 uuid --help Note: may be "URL" or "DNS" to use the corresponding UUIDs defined by RFC9562 ``` ## ECMAScript Modules This library comes with [ECMAScript Module...

Complete Match Node Modules.4184 / @mongodb Js / Saslprep Node_Modules.4184/@mongodb-js/saslprep/readme.md

Readme

...onality._ Stringprep Profile for User Names and Passwords, [rfc4013](https://tools.ietf.org/html/rfc4013) ### Usage ```js const saslprep = require('@mongodb-js/saslprep'); saslprep('password\u00AD'); // password saslprep('password\u0007'); // Error: prohibited character ``` ### API ##### `saslprep(input: String, opts:...