|
|
3 yıl önce | |
|---|---|---|
| .. | ||
| lib | 3 yıl önce | |
| test | 3 yıl önce | |
| .editorconfig | 3 yıl önce | |
| .eslintrc | 3 yıl önce | |
| .gitattributes | 3 yıl önce | |
| .travis.yml | 3 yıl önce | |
| LICENSE | 3 yıl önce | |
| code-points.mem | 3 yıl önce | |
| generate-code-points.js | 3 yıl önce | |
| index.js | 3 yıl önce | |
| package.json | 3 yıl önce | |
| readme.md | 3 yıl önce | |
Stringprep Profile for User Names and Passwords, rfc4013
const saslprep = require('saslprep')
saslprep('password\u00AD') // password
saslprep('password\u0007') // Error: prohibited character
saslprep(input: String, opts: Options): StringNormalize user name or password.
Options.allowUnassigned: boolA special behavior for unassigned code points, see https://tools.ietf.org/html/rfc4013#section-2.5. Disabled by default.
MIT, 2017 (c) Dmitriy Tsvettsikh