Skip to content

glenjamin/node_modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Glenjamin's node_modules

A curated list of beautiful node_modules that I like to use.

I'm continuously finding, evaluating and using different node_modules. Often I forget the names of the ones I like - especially when it's for something I only do rarely.

I'm also often asked "What module should I use for X?".

This page is my attempt to solve both of these problems, by maintaining a public list of all the modules I like.

Table of Contents generated with DocToc

Utility Belts

  • lodash - general functional functions
  • async - control flow for async functions

Debugging

  • debug - simple, switchable debug logging
  • longjohn - stitch together stack traces across event loop ticks
  • node-inspector - debug with webkit devtools
  • ono - extending errors, including causes

HTTP

Client

  • httpism - Newer and fancier http client
  • axios - popular promise-based http client
  • request - all-in-one HTTP client
  • agentkeepalive - better keepalive support for HTTP client
  • primus - websocket client/server

Server

  • express - popular and simple middleware based server
  • primus - generic websocket-type client/server thing
  • ws - actual websocket implementation
  • http-shutdown - Ensure HTTP server shutdown cleanly despite keepalives

Express Middleware

Misc

  • routes - basic standalone URL routing. works on client

Templating

Databases

  • knex - Query builder and migrations

React

Filesystem

Streams

  • split - split a stream of data into lines

Data Wrangling

  • immutable - immutable data types
  • moment - awesome date/time handling lib
  • joi - datatype validation and co-ercion
  • tv4 - JSON schema
  • xml2js - sometimes XML is unavoidable
  • sax - for parsing lots of XML
  • escape-string-regexp - escaping regex strings
  • validate.js - isomorphic contracts-style validation of data
  • dot-prop - safely access deep properties
  • daggy - sum types

CLI

Argument Parsing

  • yargs - simple argument parsing
  • commander - nice API for doing subcommands

Misc

External Services

  • mysql
  • amqp - been around a long time, API is a bit weird, error handling sometimes annoying
  • AMQPea - my own, early days yet

Testing

  • mocha - test running framework
  • sinon - spies/stubs/mocks
  • chai - richer set of assertions, optional expect() API
  • dirty-chai - Monkeypatch chai to promote property access assertions into function calls
  • supertest - HTTP client for testing servers
  • nock - set up fake HTTP responses

Uncategorised

About

A curated list of beautiful node_modules that I like to use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published