utf16toentities

0.1.1 • Public • Published

utf16toEntities

将utf16编码的emoji表情字符转换为字符实体

var utf16toEntities = require('./src/index.js').utf16toEntities;
console.log(utf16toEntities(unescape('%uD83D%uDE0A'))); // 😊

Readme

Keywords

none

Package Sidebar

Install

npm i utf16toentities

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • vilien