Enter the query into the form above. You can look for specific version of a package by using @ symbol like this: gcc@10.
API method:
GET /api/packages?search=hello&page=1&limit=20
where search is your query, page is a page number and limit is a number of items on a single page. Pagination information (such as a number of pages and etc) is returned
in response headers.
If you'd like to join our channel search send a patch to ~whereiseveryone/toys@lists.sr.ht adding your channel as an entry in channels.scm.
node-irc-colors is a Node.js module that allows you to easily use colored output and formatting in IRC bots. It contains functions for colours as well as more complex formatting such as rainbows.
This package provides a user-land implementation of Node-core's string_decoder, which serves to decode buffers to strings so that the decoded string does not contain incomplete multibyte sequences.
path-key provides an implementation to compute the particular cross-platform spellings of the PATH environment variable key.
readable-stream provides an implementation of Node.js core streams that behaves the same across different versions.
Typescript definition files (*.d.ts) for 'yargs'.
A very minimal implementation of a PassThrough stream It's very fast for objects, strings, and buffers. Supports pipe()ing (including multi-pipe() and backpressure transmission), buffering data until either a data event handler or pipe() is added (so you don't lose the first chunk), and most other cases where PassThrough is a good idea. There is a read() method, but it's much more efficient to consume data from this stream via 'data' events or by calling pipe() into some other stream. Calling read() requires the buffer to be flattened in some cases, which requires copying memory. If you set objectMode: true in the options, then whatever is written will be emitted. Otherwise, it'll do a minimal amount of Buffer copying to ensure proper Streams semantics when read(n) is called. objectMode can only be set at instantiation. Attempting to write something other than a String or Buffer without having set objectMode in the options will throw an error. This is not a through or through2 stream. It doesn't transform the data, it just passes it right through. If you want to transform the data, extend the class, and override the write() method. Once you're done transforming the data however you want, call super.write() with the transform output.
Validate XML, Parse XML to JS Object, or Build XML from JS Object without C/C++ based libraries and no callback. * Validate XML data syntactically. Use detailed-xml-validator to verify business rules. * Parse XML to JS Objectand vice versa * Common JS, ESM, and browser compatible * Faster than any other pure JS implementation. It can handle big files (tested up to 100mb). XML Entities, HTML entities, and DOCTYPE entites are supported. Unpaired tags (Eg <br> in HTML), stop nodes (Eg <script> in HTML) are supported. It can also preserve Order of tags in JS object
Usage import parseMilliseconds from 'parse-ms'; parseMilliseconds(1337000001); /* days: 15, hours: 11, minutes: 23, seconds: 20, milliseconds: 1, microseconds: 0, nanoseconds: 0 */
Word wrapping, with a few features. * force-break option * wraps hypenated words * multilingual - wraps any language that uses whitespace for word separation.
This package provides a protocol buffers schema parser written in Javascript.
Returns an Object with a stdout and stderr property for testing either streams. Each property is an Object, or false if color is not supported.
The stdout/stderr objects specifies a level of support for color through a .level property and a corresponding flag:
* .level = 1 and .hasBasic = true: Basic color support (16 colors) * .level = 2 and .has256 = true: 256 color support * .level = 3 and .has16m = true: Truecolor support (16 million colors)
Typescript definition (d.ts) files for Undici.
Tasks are defined in Herebyfile.mjs. Exported tasks are available to run at the CLI, with support for export default.
This package provides a base class for creating Node.js HTTP.Agent instances from a function.
A ponyfill for Buffer.from, uses native implementation if available.
This package provides a way to open stuff like URLs, files, executables.
This package provides a way to capture and clean stack traces for Node.js.
This package provides a minimal matching utility for JavaScript.
This package provides a concatenative map for JavaScript.
Use this package to easily convert various time formats to milliseconds. A number supplied as integer or string is returned as-is, while a string consisting of a number and a time unit is converted to milliseconds.
Like which(1) unix command. Find the first instance of an executable in the PATH.
once is a Node.js module to call a function exactly one time. Subsequent calls will either return the cached previous value or throw an error if desired.
Normalize slashes in a file path to be POSIX/Unix-like forward slashes. Can also condense repeated slashes to a single slash and remove trailing slashes, unless disabled.
This package provides environment variables with process.env, window.name, location.hash and localStorage fallbacks.