Useful modules
Node
process: Get argv valuefs: Input/Output from fileshttp: HTTP requestspath: Manipulate string pathscrypto: randomBytes generate random numbers
Global dependencies
npm: Node package managertypescript: Type systemts-node: Compile and execute TS with one command
Dev dependencies
nodemon: Instant changes in the terminaleslint: Find problems in the JS codejshint: Code syntax analysisenv-cmd: Load environment variablesdel-cli: Delete files in the project. Useful to clean the build folder before rebuilding
Standard dependencies
validator: Validate strings (emails, urls, etc)chalk: Customize colorsyargs: Extract Argument vectorspostman-request: HTTP requestaxios: HTTP requestexpress: Create web application APIsexpress-validator: validate dataexpress-async-errors: allow normal throw new Error() for async functions, instead of next(new Error())handlebars: Dynamic webpageshbs: Handlebars integrated to expressmongodb: MongoDB connectionmongoose: MongoDB manipulationmongoose-update-if-current: Update a record only if it has the highest versionbcryptjsorbcrypt: Work with passwordsjsonwebtoken: Create authentication tokensmulter: form-data file upload (e.g. images)sharp: Image handling. Crop, convert.@sendgrid/mail: Send emailssocket.io: Communication via WebSocketsejs: Embedded JSmustache: Render html templatesmoment: Manipulate datesqs: Parse query stringscors: Allow in server requests from different domainsjson-server: minimal server to serve a jsoncookie-session: Handle cookies and encryption of content (not necessary for jwt content)body-parser: Parse body of requests into jsonbull: Handle processes in Workersstripe: Handle credit card paymentreact-stripe-checkout: React component for stripeuuid: Unique Identificationtypeorm: ORM for database manipulation
Testing dependencies
jest: Testing frameworksupertest: Testing with Expressts-jest: Allow jest to use TS filesmongodb-memory-server-core: In memory mongodb for testing
CSS frameworks
bootstrap
Bundlers
-
Webpack -
webpack
- webpack-cli
- html-webpack-plugin
- html-loader
-
webpack-dev-server
-
Parcel -
parcel-bundler