# Install randomstring with npm

A module for generating random strings. Version 1.3.1 via npm; verified 2025-01-10.

## Install

```sh
sudo av install npm:randomstring
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g randomstring
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:randomstring
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/randomstring>
- **Version:** 1.3.1
- **Source summary:** A module for generating random strings
- **Homepage:** <https://github.com/klughammer/node-randomstring>
- **Repository:** <https://github.com/klughammer/node-randomstring>
- **Upstream docs:** <https://github.com/klughammer/node-randomstring>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/randomstring/-/randomstring-1.3.1.tgz>
- **Issue tracker:** <https://github.com/klughammer/node-randomstring/issues>
- **Published:** 2025-01-10T14:54:35.573Z
- **Last updated:** 2025-01-10T14:54:35.573Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- randomstring (cli)
- randomstring (alias)

## Dependencies

- randombytes

## Build dependencies

- mocha

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.3.1
- Package-manager updated: 2025-01-10
- Local data: ok
- Upstream repository: https://github.com/klughammer/node-randomstring
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for randomstring. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.3.1
- **Version Count:** 20
- **Maintainers:** eliaskg
- **Author:** Elias Klughammer
- **Publisher:** eliaskg
- **Engines:** Node: *
- **Integrity:** sha512-lgXZa80MUkjWdE7g2+PZ1xDLzc7/RokXVEQOv5NN2UOTChW1I8A9gha5a9xYBOqgaSoI6uJikDmCU8PyRdArRQ==
- **Shasum:** 11a494a9d51b320dd8694a3e0ee7d77b0f8e477c
- **Unpacked Size:** 16,555
- **File Count:** 0
- **Created At:** 2012-01-21T15:20:08.285Z
- **Latest Published At:** 2025-01-10T14:54:35.573Z
- **Modified At:** 2025-01-10T14:54:35.722Z


## Related links

- [Web development packages](https://pkg.so/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [precinct](https://pkg.so/npm/precinct/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cli-tools, developer, developer-tools, javascript.
- [pacote](https://pkg.so/npm/pacote/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cli-tools, developer, developer-tools, javascript.
- [plato](https://pkg.so/npm/plato/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cli-tools, developer, developer-tools, javascript.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
