All Projects → iamakulov → unescape-js

iamakulov / unescape-js

Licence: MIT license
Unescape special characters encoded by JavaScript escape sequences

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to unescape-js

is-primitive
Is the typeof value a javascript primitive?
Stars: ✭ 35 (-2.78%)
Mutual labels:  string
DigitText
The module allows to translate numbers into a text equivalent. This is important in the billing.
Stars: ✭ 22 (-38.89%)
Mutual labels:  string
ansiart2utf8
Processes legacy BBS-style ANSI art (ACiDDraw, PabloDraw, etc.) to UTF-8. Escape codes and line endings are processed for terminal friendliness.
Stars: ✭ 32 (-11.11%)
Mutual labels:  escape-sequences
obj-to-table
Create a table from an array of objects
Stars: ✭ 15 (-58.33%)
Mutual labels:  string
jest-serializer-html-string
A better Jest snapshot serializer for plain html strings
Stars: ✭ 17 (-52.78%)
Mutual labels:  string
string-math
Evaluates a math expression from a string. Supports variables and custom operators.
Stars: ✭ 14 (-61.11%)
Mutual labels:  string
gnirts
Obfuscate string literals in JavaScript code.
Stars: ✭ 65 (+80.56%)
Mutual labels:  string
stringy
Convert string to camel case, snake case, kebab case / slugify, custom delimiter, pad string, tease string and many other functionalities with help of by Stringy package.
Stars: ✭ 137 (+280.56%)
Mutual labels:  string
as-string-sink
An efficient dynamically sized string buffer (aka String Builder) for AssemblyScript
Stars: ✭ 23 (-36.11%)
Mutual labels:  string
strutil
Golang metrics for calculating string similarity and other string utility functions
Stars: ✭ 114 (+216.67%)
Mutual labels:  string
String.prototype.trim
ES5 spec-compliant shim for String.prototype.trim
Stars: ✭ 13 (-63.89%)
Mutual labels:  string
comment-mark
Interpolate strings with HTML comment markers!
Stars: ✭ 21 (-41.67%)
Mutual labels:  string
compact str
A memory efficient string type that can store up to 24* bytes on the stack
Stars: ✭ 322 (+794.44%)
Mutual labels:  string
Competitive Programming
Programming👨‍💻 Questions on BinarySearch💻, LeetCode💻, CodeChef💻, Codeforces💻,DSA 450
Stars: ✭ 188 (+422.22%)
Mutual labels:  string
hydrate-text
A small, dependency-free and strongly typed template engine.
Stars: ✭ 45 (+25%)
Mutual labels:  string
ansifilter
ANSI sequence filter
Stars: ✭ 34 (-5.56%)
Mutual labels:  escape-sequences
goin
`in` operator for go
Stars: ✭ 17 (-52.78%)
Mutual labels:  string
is-string
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Stars: ✭ 17 (-52.78%)
Mutual labels:  string
string-similarity-js
Lightweight string similarity function for javascript
Stars: ✭ 29 (-19.44%)
Mutual labels:  string
AgileStringDecryptor
a dynamic Agile.NET string decryptor that relies on invoke by wwh1004 | Version : 6.X
Stars: ✭ 24 (-33.33%)
Mutual labels:  string

unescape-js

npm Travis branch Coveralls

Unescape special characters encoded with JavaScript escape sequences

Install

npm install --save unescape-js

Usage

unescape-js supports:

  • all JavaScript escape sequences described on the according MDN page including ES2015 Unicode code point escapes (\u{XXXXX})
  • Python-style escape sequences (\UXXXXXXXX).
var unescapeJs = require('unescape-js');

console.log(unescapeJs('Hello,\\nworld!'));
// Hello,
// world!

console.log(unescapeJs('Copyright \\u00A9'));
// Copyright ©

console.log(unescapeJs('\\u{1F604}'));
// 😄

License

MIT © Ivan Akulov

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].