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: "New Arrivals" 469 results 1,788 files checked 909.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.
Related Match Node Modules.4184 / Serve Static Node_Modules.4184/serve-static/README.md

README

...static ``` ## API ```js var serveStatic = require('serve-static') ``` ### serveStatic(root, options) Create a new middleware function to serve files from within a given root directory. The file to serve will be determined by combining `req.url` with the provided root directory. When a file is not found, instead of send...

Related Match Node Modules.4184 / Cookie Node_Modules.4184/cookie/README.md

README

...Parse the query string var query = url.parse(req.url, true, true).query; if (query && query.name) { // Set a new cookie with the name res.setHeader('Set-Cookie', cookie.serialize('name', String(query.name), { httpOnly: true, maxAge: 60 * 60 * 24 * 7 // 1 week })); // Redirect back after setting cookie res.statusCode =...

Related Match Node Modules.4184 / Depd Node_Modules.4184/depd/Readme.md

Readme

...and this module uses the calling file to get the boundary for the call stacks, so you should always create a new `deprecate` object in each file and not within some central file. ### depd(namespace) Create a new deprecate function that uses the given namespace name in the messages and will display the call site prior...

Related Match Node Modules.4184 / Send Node_Modules.4184/send/README.md

README

...sh $ npm install send ``` ## API ```js var send = require('send') ``` ### send(req, path, [options]) Create a new `SendStream` for the given path to send to a `res`. The `req` is the Node.js HTTP request and the `path` is a urlencoded path to send (urlencoded, not the actual file-system path). #### Options ##### accept...

Related Match Node Modules.4184 / Send / Node Modules / Encodeurl Node_Modules.4184/send/node_modules/encodeurl/README.md

README

...url') http.createServer(function onRequest (req, res) { // parse inbound url var href = url.parse(req) // set new host for redirect href.host = 'localhost' href.protocol = 'https:' href.slashes = true // create location header var location = encodeUrl(url.format(href)) // create html message var body = 'Redirecting to...

Related Match Node Modules.4184 / Socket.io Parser / Node Modules / Debug Node_Modules.4184/socket.io-parser/node_modules/debug/README.md

README

...= (v) => { return v.toString('hex') } // …elsewhere const debug = createDebug('foo') debug('this is hex: %h', new Buffer('hello world')) // foo this is hex: 68656c6c6f20776f726c6421 +0ms ``` ## Browser Support You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), or just...

Related Match Node Modules.4184 / Punycode Node_Modules.4184/punycode/README.md

README

...ersion` A string representing the current Punycode.js version number. ## For maintainers ### How to publish a new release 1. On the `main` branch, bump the version number in `package.json`: ```sh npm version patch -m 'Release v%s' ``` Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/). Note tha...

Related Match Node Modules.4184 / Engine.io Parser Node_Modules.4184/engine.io-parser/Readme.md

Readme

...ine.io-parser ``` 1. write your app code ```js const parser = require("engine.io-parser"); const testBuffer = new Int8Array(10); for (let i = 0; i < testBuffer.length; i++) testBuffer[i] = i; const packets = [{ type: "message", data: testBuffer.buffer }, { type: "message", data: "hello" }]; parser.encodePayload(packets...

Related Match Node Modules.4184 / Socket.io Node_Modules.4184/socket.io/Readme.md

Readme

...s available again. Please see the available reconnection options [here](https://socket.io/docs/v3/client-api/#new-Manager-url-options). #### Disconnection detection A heartbeat mechanism is implemented at the Engine.IO level, allowing both the server and the client to know when the other one is not responding anymore....

Related Match Node Modules.4184 / Socket.io / Node Modules / Debug Node_Modules.4184/socket.io/node_modules/debug/README.md

README

...= (v) => { return v.toString('hex') } // …elsewhere const debug = createDebug('foo') debug('this is hex: %h', new Buffer('hello world')) // foo this is hex: 68656c6c6f20776f726c6421 +0ms ``` ## Browser Support You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), or just...

Related Match Node Modules.4184 / Ee First Node_Modules.4184/ee-first/README.md

README

...vent name that fired; and `args` is an array of the arguments that were emitted on the event. ```js var ee1 = new EventEmitter() var ee2 = new EventEmitter() first([ [ee1, 'close', 'end', 'error'], [ee2, 'error'] ], function (err, ee, event, args) { // listener invoked }) ``` #### .cancel() The group of listeners can b...

Related Match Node Modules.4184 / Follow Redirects Node_Modules.4184/follow-redirects/README.md

README

...`) – sets the `agent` option per protocol, since HTTP and HTTPS use different agents. Example value: `{ http: new http.Agent(), https: new https.Agent() }` - `trackRedirects` (default: `false`) – whether to store the redirected response details into the `redirects` array on the response object. ### Advanced usage By de...