UNPKG

react-native-fetch-blob

Version:

A module provides upload, download, and files access API. Supports file stream read/write for process large files.

8 lines (7 loc) 179 B
export default function(x) { var r = /\\u([\d\w]{4})/gi x = x.replace(r, function (match, grp) { return String.fromCharCode(parseInt(grp, 16)) }) return unescape(x) }