# strict-uri-encode

> A stricter URI encode adhering to RFC 3986

Latest version **2.0.0** (published 2016-10-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install strict-uri-encode
pnpm add strict-uri-encode
yarn add strict-uri-encode
bun add strict-uri-encode
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2016-10-11 |
| First published | 2015-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/strict-uri-encode) |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 62 |
| Author | Kevin Mårtensson |
| Maintainers | kevva |
| Keywords | component, encode, RFC3986, uri |

## Links

- npm: https://www.npmjs.com/package/strict-uri-encode
- Repository: https://github.com/kevva/strict-uri-encode
- Homepage: https://github.com/kevva/strict-uri-encode#readme
- Issues: https://github.com/kevva/strict-uri-encode/issues
- npm.io page: https://npm.io/package/strict-uri-encode

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2016-10-11
- 1.1.0 — 2016-01-04
- 1.0.2 — 2015-07-27
- 1.0.1 — 2015-07-24
- 1.0.0 — 2015-07-21

## README

# strict-uri-encode [![Build Status](https://travis-ci.org/kevva/strict-uri-encode.svg?branch=master)](https://travis-ci.org/kevva/strict-uri-encode)

> A stricter URI encode adhering to [RFC 3986](http://tools.ietf.org/html/rfc3986)


## Install

```
$ npm install --save strict-uri-encode
```


## Usage

```js
const strictUriEncode = require('strict-uri-encode');

strictUriEncode('unicorn!foobar');
//=> 'unicorn%21foobar'

strictUriEncode('unicorn*foobar');
//=> 'unicorn%2Afoobar'
```


## API

### strictUriEncode(string)

#### string

Type: `string`, `number`

String to URI encode.


## License

MIT © [Kevin Mårtensson](http://github.com/kevva)

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