filenamify
Convert a string or path into a valid filename by replacing reserved and control characters.
Installation guides, method references, and FAQ for popular developer libraries and frameworks.
Convert a string or path into a valid filename by replacing reserved and control characters.
Go cache library with pluggable stores, chaining, metrics, and a context-aware typed interface.
Sign and verify data with HMAC so tampering is detectable, including time-limited signed tokens.
Match strings and arrays against glob patterns with a tiny API and predictable wildcard rules.
- date-time: date-time (time-zone is mandatory). - iso-time: time with optional time-zone.
- Supports circular references, nested references, back-references, and cross-references - Maintains object reference equality — $ref pointers to the…
And secure against length extension, unlike SHA-2. - Highly parallelizable across any number of threads and SIMD lanes, because it's a Merkle tree on the…
Global RC file in the user's home directory 5. See the official documentation for details.
There're only 4 APIs you need to learn for building simple CLIs: cli.option cli.version cli.help cli.parse.
chardet 7 is a ground-up, 0BSD-licensed rewrite of chardet. Same package name, same public API — drop-in replacement for chardet 5.x/6.x, just much faster…
@supports selector(body:has()) { body:has(details[data-component="ManualSteps"][open]) [data-manual-steps-dual] ol[aria-label="On this page"] li[data-step]…
- Clipanion finds out the type of the options based on their declaration, and gives them useful default (false for booleans, 0 for numbers, ...) - Clipanion…
Recursively clone values including arrays, objects, and regex without shared references.
Not a transform stream -- more of a stream sink. See the official documentation for details.
By introducing a configuration schema, convict gives project collaborators more context on each setting and enables validation and early failures for when…
generateCsrfToken, // Use this in your routes to provide a CSRF token.
Debounce a function with a configurable wait and optional immediate leading call.
Delete files and directories with glob patterns and error-safe promise return values.
It's also very simple to use and get started with. DOMPurify was started in February 2014 and, meanwhile, has reached version v3.4.16.
This avoids the overhead of parsing string paths. {name: 'Alice', role: 'admin'}, {name: 'Bob', role: 'user'} ] }; // Using array paths - no parsing…
environment variables in Node/Bun/etc programs [!NOTE] envalid v9 is in beta!
error-stack is an open-source developer library; the official README provides no citable usage sentence, so API details stay unverified.
It is based on Svelte stores nd Selte actions for its functionality. No Field or Form components, just plain stores and actions to build your form however…
try { (function(w, u){ u = new URL(w.location) if (u.pathname.endsWith('/')) return u.pathname += u.pathname.endsWith('/') ?
[![Conventional Commits][ccommits-img]][ccommits-url] [![Minimum Required Nodejs][nodejs-img]][npmv-url] [![Buy me a Kofi][kofi-img]][kofi-url] [![Make A…
Gets the contents of a stream as a string, buffer, or array with promise interface.
Values are decoded, and their errors are reported, as encoding/json of Go 1.27 (built on encoding/json/v2) does, on every Go version.
Drop-in fs replacement that handles EMFILE and other errors gracefully with retries.
Note: That might not be desirable as unhandled rejections can be handled at a future point in time, although not common.
Automatically chooses the right units (seconds, minutes, etc) to format a time interval.
It provides a wonderful interface with all of the TanStack Query features, providing you the ability to use those features in combination with your existing…
Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your :heart: and support.
This tool keeps track of unhandled rejections globally. If any remain unhandled at the end of your process, it logs them to STDERR and exits with code 1.
Cross-platform directory creation with correct mode and native recursion support.
Tiny 200b event emitter library for JavaScript with no dependencies and clean API.
export const { auth, handlers } = NextAuth({ providers: [GitHub] }) // proxy.ts export { auth as proxy } from "@/auth" //…
Ensure a function is called only once, caching the first result for reuse.
When things start failing, opossum plays dead and fails fast. If you want, you can provide a fallback function to be executed when in the failure state.
Run promise-returning functions concurrently with optional concurrency cap.
You probably want this instead of Promise.race(). Reason. With Node.js 15, there's now a built-in…
Use delay if you need to delay a promise. API pDefer() Returns an object with a promise property and functions to resolve() and reject().
Iterate over an array in series, awaiting each item before processing the next.
It works with any event API in Node.js and the browser (using a bundler).
Reduce an array to a single value by async reducer function in sequence.
getPromise(), getPromiseThatRejects(), getPromise() ]; console.log(results); / [ { status: 'fulfilled', value: '🦄' isFulfilled: true, isRejected: false },…
If calling input returns a rejected promise, input is called again until the max retries are reached, it then rejects with the last rejection reason.
If the function throws an error, the returned Promise will be rejected with that error.
Run async tasks in sequence, passing each result to the next task in chain.
which is essentially equal to: // instantiate PrettyError, which can then be used to render error objects pe.start(); You can also preload pretty-error into…
THE SOFTWARE IS PROVIDED "AS IS" AND BRIAN SMITH AND THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF…
It even works without JavaScript on the client if you're using a server-rendered framework like Remix / React Router.
It is well suited for cleaning up HTML fragments such as those created by CKEditor and other rich text editors.
Schema validation just got Pythonic =============================================================================== schema is a library for validating…
This also works if serialize-error is a sub-dependency that's not used directly, as long as the project ends up with a single physical copy of the package.
stack-utils Captures and cleans stack traces. options internals Type: array of RegularExpressions A set of regular expressions that match internal stack…
font-family: "Noto Color Emoji"; font-style: normal; font-weight: 400; font-display: swap; src:…
Throttle or debounce functions in one small package with edge options.
Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your :heart: and support.
Global RC file in the user's home directory 5. See the official documentation for details.
--- Python 3.11 reaches EOL in October 2027. [sast-badge]: https://github.com/python-validators/validators/actions/workflows/sast.yaml/badge.svg…
window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-T7VXTJ0MFH');…
filename String data String | Buffer options Object chown Object uid Number gid Number encoding String | Null default = 'utf8' mode Number default = 438…
// registry.npmjs.org supports CORS, so we can fetch it directly fetch('https://registry.npmjs.org/yargs') .then(function (res) { return res.json() })…
It is easy to integrate into existing codebase by using it as a context manager or as a function…
OpenAI provider for the Vercel AI SDK, exposing chat, completion, embedding, and image models with typed config.
AWS SDK client for Amazon Cognito Identity pools, providing GetId and GetCredentialsForIdentity commands.
AWS SDK client for Key Management Service, providing Encrypt, Decrypt, and GenerateDataKey for envelope encryption.
AWS SDK client for Secrets Manager, providing GetSecretValue, CreateSecret, and RotateSecret for secret lifecycle.
AWS SDK client for Simple Email Service, providing SendEmail, SendTemplatedEmail, and SendRawEmail for transactional mail.
AWS SDK client for the Security Token Service, providing AssumeRole and GetCallerIdentity for temporary credentials.
Credential provider functions for the AWS SDK v3, sourcing credentials from env, INI, instance metadata, and SSO.
Managed S3 upload helper for the AWS SDK v3, handling multipart uploads, concurrency, and progress events automatically.
Layered configuration loader for Node.js, merging defaults, config files, environment, and overrides with watch support.
Beautifully minimal CLI prompt library with text, confirm, select, multiselect, and group prompts for interactive CLIs.
Server-side authentication SDK for Clerk, with token verification, user retrieval, and session management without a browser.
Type-safe CLI argument parser with subcommands, positional args, and auto-generated help, built on a declarative schema.
Cross-platform clipboard read/write for Node.js CLIs, supporting macOS, Linux, and Windows with sync and async APIs.
TypeScript type definitions for the Cloudflare Workers runtime, covering FetchEvent, KV, Durable Objects, and R2 bindings.
Resilience and transient-fault-handling library with retry, circuit breaker, timeout, bulkhead, and fallback policies.
Type-safe form validation library for React with progressive enhancement, server-side validation, and zero runtime dependencies.
Drop-in replacement for dotenv with encrypted .env files, multi-environment support, and runtime injection.
Platform abstractions for the Effect runtime, providing typed HTTP server, HTTP client, file system, and command APIs.
Type-safe schema definition and runtime validation library for the Effect ecosystem, with decode, encode, and AST APIs.
CLI and programmatic environment reporter for debugging issues, collecting OS, runtime, browser, and dependency versions.
Multipart form data parser for Fastify with streaming file handling, field limits, and save-to-disk or in-memory options.
Rate limiting plugin for Fastify with per-route and global limits, Redis store support, and custom key generators.
Load shedding plugin for Fastify that rejects requests when event loop delay, heap, or RSS exceeds thresholds.
Framework-agnostic form library using native form elements, with validation, async submission, and extensible reporters.
Streaming multipart form parser for Node.js with low memory footprint, file upload handling, and event-based API.
Performant, Zod-first form library for React with async validation, field-level errors, and controlled re-renders.
Retrieves RSA signing keys from a JWKS endpoint with caching, for use with express-jwt and passport-jwt verification.
Tiny millisecond conversion library for time strings like "1d" and "2.5h", with parse and format functions.
Fast, zero-dependency UUID v4 and v7 generator returning strings or Uint8Arrays without the uuid package overhead.
Type-safe, modular form library for React with field-level validation, async submission, and reactive state management.
Low-level HTTP request interception library for Node.js and browsers, used by MSW to mock fetch, XMLHttpRequest, and http.
PostgreSQL driver for serverless and edge using HTTP/WebSocket, compatible with node-postgres query interface.
OAuth 2.0 server implementation for Node.js with extensible grant types, token model, and authorization endpoint handling.
Native Argon2 password hashing for Node.js via Rust bindings, with async hash, verify, and algorithm selection.
Native bcrypt password hashing for Node.js via Rust bindings, with async hash, verify, and configurable cost factor.
Async ORM for Python with a fluent query builder, migrations, and Pydantic integration, built on PostgreSQL and SQLite.
No docs match this scenario.