README
...de.js module that generates a base64 id. Uses crypto.randomBytes when available, falls back to unsafe methods for node.js
Search public page files, titles, headings, and visible text with stronger weighting for exact matches, filenames, headings, sections, and motorsport-related synonyms.
...de.js module that generates a base64 id. Uses crypto.randomBytes when available, falls back to unsafe methods for node.js
...'has-symbols'); hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable. var hasSymbolsKinda = require('has-symbols/shams'); hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec. ``` ## Supported Symbol shams - get-own-property-...
...: byteOffset, buffer: bufferWithPageSize } ``` #### `pages.set(pageNumber, buffer)` Explicitly set the buffer for a page. #### `pages.updated(page)` Mark a page as updated. #### `pages.lastUpdate()` Get the last page that was updated. #### `var buf = pages.toBuffer()` Concat all pages allocated pages into a single buff...
...ing - The `.href` property cannot be set, only read - There is an additional `.isSRV` property, set to `true` for `mongodb+srv://` - There is an additional `.clone()` utility method on the prototype ## LICENSE Apache-2.0
# Installation > `npm install --save @types/cookie` # Summary This package contains type definitions for cookie (https://github.com/jshttp/cookie). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cookie. ### Additional Details * Last updated: Tue, 06 Jul 2021 20:3...
# Installation > `npm install --save @types/whatwg-url` # Summary This package contains type definitions for whatwg-url (https://github.com/jsdom/whatwg-url#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-url. ### Additional Details * Last updated:...
...nstallation > `npm install --save @types/webidl-conversions` # Summary This package contains type definitions for webidl-conversions (https://github.com/jsdom/webidl-conversions#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webidl-conversions. ### Addit...
# Installation > `npm install --save @types/cors` # Summary This package contains type definitions for cors (https://github.com/expressjs/cors/). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cors. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyp...
...stall --save process-nextick-args ``` Always be able to pass arguments to process.nextTick, no matter the platform ```js var pna = require('process-nextick-args'); pna.nextTick(function (a, b, c) { console.log(a, b, c); }, 'step', 3, 'profit'); ```
# side-channel Store information about any JS value in a side channel. Uses WeakMap if available.
...re time. See the syntax described [in the JS spec](https://tc39.es/ecma262/#sec-well-known-intrinsic-objects) for reference. ## Example ```js var GetIntrinsic = require('get-intrinsic'); var assert = require('assert'); // static methods assert.equal(GetIntrinsic('%Math.pow%'), Math.pow); assert.equal(Math.pow(2, 3), 8)...
...url] [![Downloads][downloads-image]][downloads-url] [![npm badge][npm-badge-png]][package-url] A simple cache for a few of the JS Error constructors. ## Example ```js const assert = require('assert'); const Base = require('es-errors'); const Eval = require('es-errors/eval'); const Range = require('es-errors/range'); co...