UNPKG
voluptasvelit
Version:
latest (1.3.2)
1.3.2
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
JavaScript obfuscator
github.com/AmandaReichert/voluptasvelit
AmandaReichert/voluptasvelit
voluptasvelit
/
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'
); }