sindresorhus / string-hash
Get the hash of a string
☆66Updated 2 years ago
Related projects: ⓘ
- Expand deeply nested values from an object, with support for advanced features☆17Updated last year
- Strip the final newline character from a string/buffer☆33Updated 4 months ago
- Get the name of a named function☆33Updated 3 years ago
- Like minimist but flags are converted to camelCase☆11Updated 2 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- Clone a Node.js HTTP response stream☆28Updated 3 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Make directories recursively -plz 🙏☆13Updated 4 years ago
- Pick random items from a list☆54Updated 3 years ago
- WeakMap with an array of keys☆17Updated 7 months ago
- Modify the values of an object☆28Updated 3 years ago
- Modify the keys of an object☆15Updated 2 years ago
- Get the system default UID☆11Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Lowercase the keys of an object☆41Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated 10 months ago
- Get a random property from an object☆15Updated 2 months ago
- Gracefully restore the CLI cursor on exit☆34Updated last month
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Get a random key from an object☆18Updated 2 months ago
- A safer `.hasOwnProperty()`☆30Updated last year
- Check if a value is a regular expression☆24Updated 2 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- fs read and write streams based on minipass☆21Updated 2 months ago
- Get all email addresses in a string☆58Updated 3 years ago
- Fastify Plugin to serve default favicon☆13Updated last year