UNPKG
anobis
Version:
latest (1.2.2)
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
JavaScript obfuscator
github.com/DelphineWolff/anobis
DelphineWolff/anobis
anobis
/
test
/
helpers
/
readFileAsString.ts
9 lines
(8 loc)
•
172 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
*
as
fs
from
'fs'
;
/** *
@param
path
*
@returns
{
string
} */
export
function
readFileAsString
(
path
:
string
):
string
{
return
fs.
readFileSync
(path,
'utf8'
); }