UNPKG
techdadi-express-starter-ts
Version:
latest (0.1.12-beta)
0.1.12-beta
0.1.11-beta
0.1.10-beta
0.1.9-beta
0.1.8-beta
0.1.7-beta
0.1.6-beta
0.1.5-beta
0.1.4-beta
0.1.3-beta
0.1.2-beta
0.1.1-beta
0.1.0-beta
CLI for creating a new Express TypeScript starter project
techdadi-express-starter-ts
/
starter-template
/
src
/
utils
/
consoleFunction.ts
6 lines
(4 loc)
•
160 B
text/typescript
View Raw
1
2
3
4
5
6
import
{ env }
from
'./dotenv'
;
export
default
function
consoleFunction
(
...args: any[]
):
void
{ env.
NODE_ENV
===
'development'
?
console
.
log
(args) :
null
; }