UNPKG
inline-assets
Version:
latest (1.5.1)
1.5.1
1.5.0
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
Inline External Assets of HTML/CSS Files
github.com/rse/node-inline-assets
rse/node-inline-assets
inline-assets
/
sample
/
node_modules
/
lodash
/
_asciiToArray.js
13 lines
(11 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** * Converts an ASCII `string` to an array. * *
@private
*
@param
{string} string The string to convert. *
@returns
{Array} Returns the converted array. */
function
asciiToArray
(
string
)
{
return
string
.
split
(
''
); } module.exports = asciiToArray;