UNPKG
unexample
Version:
latest (1.0.0)
1.0.0
convert .env.example to .env (and some)
github.com/rootindex/unexample
rootindex/unexample
unexample
/
node_modules
/
redent
/
index.js
6 lines
(4 loc)
•
200 B
JavaScript
View Raw
1
2
3
4
5
6
'use strict'
;
const
stripIndent =
require
(
'strip-indent'
);
const
indentString =
require
(
'indent-string'
);
module
.
exports
=
(
str, count, indent
) =>
indentString
(
stripIndent
(str), count ||
0
, indent);