選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
diligent 13e492f897 Added mocks of scrapes 5年前
..
lib Init commit 5年前
test Init commit 5年前
.editorconfig Init commit 5年前
.gitattributes Init commit 5年前
.travis.yml Init commit 5年前
CHANGELOG.md Init commit 5年前
LICENSE Init commit 5年前
code-points.mem Init commit 5年前
generate-code-points.js Init commit 5年前
index.js Init commit 5年前
package.json Added mocks of scrapes 5年前
readme.md Init commit 5年前

readme.md

saslprep

Build Status npm node license downloads

Stringprep Profile for User Names and Passwords, rfc4013

Usage

const saslprep = require('saslprep')

saslprep('password\u00AD') // password
saslprep('password\u0007') // Error: prohibited character

API

saslprep(input: String, opts: Options): String

Normalize user name or password.

Options.allowUnassigned: bool

A special behavior for unassigned code points, see https://tools.ietf.org/html/rfc4013#section-2.5. Disabled by default.

License

MIT, 2017-2019 © Dmitriy Tsvettsikh