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 815.4 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 / Call Bind Node_Modules.4184/call-bind/README.md

README

...package-url] Robustly `.call.bind()` a function. ## Getting started ```sh npm install --save call-bind ``` ## Usage/Examples ```js const assert = require('assert'); const callBind = require('call-bind'); const callBound = require('call-bind/callBound'); function f(a, b) { assert.equal(this, 1); assert.equal(a, 2); asse...

Complete Match Node Modules.4184 / Socket.io Adapter Node_Modules.4184/socket.io-adapter/Readme.md

Readme

...-------- | | 1.x.x | 1.x.x / 2.x.x | | 2.x.x | 3.x.x | ## How to use This module is not intended for end-user usage, but can be used as an interface to inherit from other adapters you might want to build. As an example of an adapter that builds on top of this, please take a look at [socket.io-redis](https://github.com/...

Complete Match Node Modules.4184 / Isarray Node_Modules.4184/isarray/README.md

README

...support](https://ci.testling.com/juliangruber/isarray.png) ](https://ci.testling.com/juliangruber/isarray) ## Usage ```js var isArray = require('isarray'); console.log(isArray([])); // => true console.log(isArray({})); // => false ``` ## Installation With [npm](http://npmjs.org) do ```bash $ npm install isarray ``` The...

Complete Match Node Modules.4184 / Inherits Node_Modules.4184/inherits/README.md

README

...require('util').inherits` for any code that has chances to be used not only in node.js but in browser too. ## usage ```js var inherits = require('inherits'); // then use exactly as the standard one ``` ## note on version ~1.0 Version ~1.0 had completely different motivation and is not compatible neither with 2.0 nor wi...

Complete Match Node Modules.4184 / Setprototypeof Node_Modules.4184/setprototypeof/README.md

README

...ation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. ## Usage: ``` $ npm install --save setprototypeof ``` ```javascript var setPrototypeOf = require('setprototypeof') var obj = {} setPrototypeOf(obj, { foo: function () { return 'bar' } }) obj.foo() // bar ``` TypeS...

Complete Match Node Modules.4184 / Object Assign Node_Modules.4184/object-assign/readme.md

Readme

...eans, use `Object.assign()` instead of this package. ## Install ``` $ npm install --save object-assign ``` ## Usage ```js const objectAssign = require('object-assign'); objectAssign({foo: 0}, {bar: 1}); //=> {foo: 0, bar: 1} // multiple sources objectAssign({foo: 0}, {bar: 1}, {baz: 2}); //=> {foo: 0, bar: 1, baz: 2} /...

Complete Match Node Modules.4184 / Utils Merge Node_Modules.4184/utils-merge/README.md

README

...roperties from a source object into a destination object. ## Install ```bash $ npm install utils-merge ``` ## Usage ```javascript var a = { foo: 'bar' } , b = { bar: 'baz' }; merge(a, b); // => { foo: 'bar', bar: 'baz' } ``` ## License [The MIT License](http://opensource.org/licenses/MIT) Copyright (c) 2013-2017 Jared...

Complete Match Node Modules.4184 / Mime Db Node_Modules.4184/mime-db/README.md

README

...he JSON format may change in the future. ``` https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json ``` ## Usage ```js var db = require('mime-db') // grab data on .js files var data = db['application/javascript'] ``` ## Data Structure The JSON file is a map lookup for lowercased mime types. Each mime type has the fo...

Complete Match Node Modules.4184 / Express Session Node_Modules.4184/express-session/README.md

README

...is new but not modified. Choosing `false` is useful for implementing login sessions, reducing server storage usage, or complying with laws that require permission before setting a cookie. Choosing `false` will also help with race conditions where a client makes multiple parallel requests without a session. The default...

Complete Match Node Modules.4184 / Fresh Node_Modules.4184/fresh/README.md

README

...n to work-around this issue and also provides links to further reading on this Safari bug. ## Example ### API usage ```js var reqHeaders = { 'if-none-match': '"foo"' } var resHeaders = { 'etag': '"bar"' } fresh(reqHeaders, resHeaders) // => false var reqHeaders = { 'if-none-match': '"foo"' } var resHeaders = { 'etag':...

Complete Match Node Modules.4184 / Define Data Property Node_Modules.4184/define-data-property/README.md

README

...ormal data property, in an environment without descriptor support, it will fall back to normal assignment. ## Usage ```javascript var defineDataProperty = require('define-data-property'); var assert = require('assert'); var obj = {}; defineDataProperty(obj, 'key', 'value'); defineDataProperty( obj, 'key2', 'value', tru...

Complete Match Node Modules.4184 / Form Data Node_Modules.4184/form-data/Readme.md

Readme

.../form-data.svg)](https://david-dm.org/form-data/form-data) ## Install ``` npm install --save form-data ``` ## Usage In this example we are constructing a form with 3 fields that contain a string, a buffer and a file stream. ``` javascript var FormData = require('form-data'); var fs = require('fs'); var form = new FormD...