README
...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
Search public page files, titles, headings, and visible text with stronger weighting for exact matches, filenames, headings, sections, and motorsport-related synonyms.
...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/node` # Summary This package contains type definitions for node (https://nodejs.org/). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. ### Additional Details * Last updated: Wed, 25 Sep 2024 22:07:42 GMT * Dependen...
# 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'); ```
...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...
...--------------------- | | 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:...
# escape-html Escape string for use in HTML ## Example ```js var escape = require('escape-html'); var html = escape('foo & bar'); // -> foo & bar ``` ## Benchmark ``` $ npm run-script bench > escape-html@1.0.3 bench nodejs-escape-html > node benchmark/index.js http_parser@1.0 node@0.10.33 v8@3.14.5.9 ares@1.9.0-DEV uv@...
...ject.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://ponyfill.com) ## Use the built-in Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari), support `Object.assign()` :tada:. If you target only those environments, then by all means, use `Object.assi...