ExpressJs 4 Snippets for VS Code
This extension for Visual Studio Code adds snippets for ExpressJs v4.x for JavaScript.
- 70 snippets
- Supports es6 syntax
Demo
Usage
Type part of a snippet, press enter , and the snippet unfolds.
Snippets
Application Snippets
Snippet |
Description |
e4-app |
App Variable |
e4-app-all |
All HTTP Requests |
e4-app-get |
HTTP GET Requests |
e4-app-post |
HTTP POST Requests |
e4-app-put |
HTTP PUT Requests |
e4-app-delete |
HTTP DELETE Requests |
e4-app-patch |
HTTP PATCH Requests |
e4-app-disable |
App Disable |
e4-app-disabled |
App Disabled |
e4-app-enable |
App Enable |
e4-app-enabled |
App Enabled |
e4-app-engine |
App Engine |
e4-app-param |
App Param |
e4-app-path |
App Path |
e4-app-render |
App Render |
e4-app-route |
App Route |
e4-app-set |
App Set |
e4-app-listen |
App Listen |
e4-app-listen-with-callback |
App Listen With Callback |
e4-app-use |
App Use |
Examples Snippets
Snippet |
Description |
e4-example-helloworld |
Example - Hello World |
The other example snippets are preparing...
Handlers Snippets
Snippet |
Description |
e4-404-handler |
404 - Not Found |
e4-500-handler |
500 - Error |
Middleware Snippets
Snippet |
Description |
e4-mid-helmet |
Middleware Helmet |
e4-mid-logger |
Middleware Morgan/Logger |
e4-mid-compress |
Middleware Compression |
e4-mid-body-parser-json |
Middleware Body Parser Json |
e4-mid-body-parser-url |
Middleware Body Parser Url Encoded |
e4-mid-method-override |
Middleware Method Override |
e4-mid-static-file |
Middleware Static File |
Module Snippets
Snippet |
Description |
e4-require |
Require ExpressJs 4 Module |
e4-namespace |
ExpressJs 4 Namespace |
Request Snippets
Snippet |
Description |
e4-req-accepts |
Request Accepts |
e4-req-accepts-charsets |
Request Accepts Charsets |
e4-req-accepts-languages |
Request Accepts Languages |
e4-req-get |
Request Get |
e4-req-is |
Request Is |
e4-req-range |
Request Range |
Response Snippets
Snippet |
Description |
e4-res-append |
Response Append |
e4-res-attachment |
Response Attachment |
e4-res-cookie |
Response Cookie |
e4-res-cookie-with-options |
Response Cookie With Options |
e4-res-clear-cookie |
Response Clear Cookie |
e4-res-clear-cookie-with-options |
Response Clear Cookie With Options |
e4-res-download |
Response Download |
e4-res-end |
Response End |
e4-res-format |
Response Format |
e4-res-get |
Response Get |
e4-res-json |
Response Json |
e4-res-jsonp |
Response Jsonp |
e4-res-links |
Response Links |
e4-res-location |
Response Location |
e4-res-redirect |
Response Redirect |
e4-res-redirect-with-status |
Response Redirect With Status |
e4-res-render |
Response Render |
e4-res-send |
Response Send |
e4-res-send-file |
Response Send File |
e4-res-send-status |
Response Send Status |
e4-res-set |
Response Set |
e4-res-status |
Response Status |
e4-res-rss |
Response Rss |
e4-res-type |
Response Type |
e4-res-vary |
Response Vary |
Router Snippets
Snippet |
Description |
e4-router |
ExpressJs 4 Router Variable |
e4-router-all |
Router All |
e4-router-get |
Router GET |
e4-router-post |
Router POST |
e4-router-put |
Router PUT |
e4-router-delete |
Router DELETE |
License
ExpressJs 4 Snippets is an open source project that is licensed under the MIT license.
Donations
Donations are greatly appreciated!
BUY ME A COFFEE
| |