You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**string_decoder.js** (`require('string_decoder')`) from Node.js core
1
+
# string_decoder
2
2
3
-
Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details.
3
+
***Node-core v7.0.0 string_decoder for userland***
4
4
5
-
Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.**
6
5
7
-
The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version.
[](https://saucelabs.com/u/string_decoder)
11
+
12
+
```bash
13
+
npm install --save string_decoder
14
+
```
15
+
16
+
***Node-core string_decoderstring_decoder for userland***
17
+
18
+
This package is a mirror of the string_decoder implementation in Node-core.
19
+
20
+
Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v7.8.0/docs/api/).
21
+
22
+
As of version 1.0.0 **string_decoder** uses semantic versioning.
23
+
24
+
## Previous versions
25
+
26
+
Previous version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10.
27
+
28
+
## Update
29
+
30
+
The *build/* directory contains a build script that will scrape the source from the [nodejs/node](https://github.com/nodejs/node) repo given a specific Node version.
+'\n case \'hex\': case \'utf8\': case \'utf-8\': case \'ascii\': case \'binary\': case \'base64\': case \'ucs2\': case \'ucs-2\': case \'utf16le\': case \'utf-16le\': case \'raw\': return true;'
0 commit comments