Easy Node Snippets
Commonly used node snippets made easy !
I created this to make life easy for Node developers.
Shortcuts / Commands
Simple Server Templates
Command |
Description |
!exp-server |
Creates a Simple Express Server |
!http-server |
Creates a simple http Server |
Other Commands
Command |
Description |
exp-get |
GET Request |
exp-put |
PUT Request |
exp-post |
POST Request |
exp-patch |
PATCH Request |
exp-delete |
DELETE Request |
req |
Require |
req-express |
Require Express Module |
req-path |
Require Path Module |
req-fs |
Require File System Module |
req-bcrypt |
Require bcryptjs Module |
req-jwt |
Require JsonWebToken Module |
req-conf |
Require Config Module |
me |
module.exports = Name |
fsrf |
Read File |
fsrfs |
Read File Synchronously |
fsrs |
Read Stream |
fswf |
Write File |
fswfs |
Write File Synchronously |
fsaf |
Append File |
fsafs |
Append File Synchronously |
pjoin |
Path Join |
pdir |
Path Directory Name |
pbase |
Path Base Name |
pext |
Path extension Name |
event |
Event Emitter |
Adding Aditional Features
Pull requests are welcome !
| |