# safe-variable-name

> Get a safe variable name from a given string.

Latest version **1.0.4** (published 2024-01-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install safe-variable-name
pnpm add safe-variable-name
yarn add safe-variable-name
bun add safe-variable-name
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2024-01-29 |
| First published | 2022-10-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 15.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 26 |
| Author | bluelovers |
| Maintainers | bluelovers |
| Keywords | name, slug, slugify, string, var, variable, create-by-yarn-tool, create-by-tsdx |

## Links

- npm: https://www.npmjs.com/package/safe-variable-name
- Repository: https://github.com/bluelovers/ws-string
- Homepage: https://github.com/bluelovers/ws-string/tree/master/packages/safe-variable-name#readme
- Issues: https://github.com/bluelovers/ws-string/issues
- npm.io page: https://npm.io/package/safe-variable-name

## Dependencies (2)

- [camelcase](https://npm.io/package/camelcase.md) <7.0.0 >=6.3.0
- [reserved2](https://npm.io/package/reserved2.md) ^0.1.6

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2024-01-29
- 1.0.3 — 2023-04-12
- 1.0.2 — 2022-11-01
- 1.0.1 — 2022-10-27

## README

# README.md

    

## install

```bash
yarn add safe-variable-name
yarn-tool add safe-variable-name
yt add safe-variable-name
```

---
_Source: https://npm.io/package/safe-variable-name · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
