|
|
hace 3 años | |
|---|---|---|
| .. | ||
| lib | hace 3 años | |
| test | hace 3 años | |
| .editorconfig | hace 3 años | |
| .eslintrc | hace 3 años | |
| .gitattributes | hace 3 años | |
| .travis.yml | hace 3 años | |
| LICENSE | hace 3 años | |
| code-points.mem | hace 3 años | |
| generate-code-points.js | hace 3 años | |
| index.js | hace 3 años | |
| package.json | hace 3 años | |
| readme.md | hace 3 años | |
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