A collection of npm packages related to node.js

1. Practical functions

1. qs

A simple and easy-to-use string parsing and formatting library

 
 

2. rxjs

RxJS is a modular set of libraries for composing asynchronous and event-based programs using observable collections and compositions in JavaScript.

 
 

3. mitt

Tiny 200b Function Event Emitter / Publish Subscribe.

 
 

4.Underscore.js

Underscore.js is a utility library for JavaScript that provides support for the usual functional suspects (each, map, reduce, filter, etc.) without extending any of the core JavaScript objects.

 
 

5.day.js

Day.js is a minimalist JavaScript library that parses, validates, manipulates and displays dates and times for modern browsers, with a largely Moment-compatible API.

 
 

6. in the frame

Ramda is a functional library with side-effect-free functions composable with currying.

 
 

7.validator

Validator is a string validator and sanitizer library.

 
 

8.yup

yup is a schema builder for complex, interdependent validations and transformations.

 
 

9. Lodash

Lodash is a utility library that makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, and more.

 
 

10.date-fns

Date-fns provides the most comprehensive, simple and consistent toolset for manipulating JavaScript dates in the browser and Node.js.

 
 

11.jsonwebtoken

Jsonwebtoken is a library for signing, verifying and decoding JSON Web Tokens.

 
 

12.uuid

UUID is a library for creating RFC4122 Universally Unique Identifiers.

 
 

 13.brower-toll

brower-toll is a module for getting browser information, which is very convenient.

 14.jr-qrcode

jr-qrcode is used to generate QR code.

2. Operating the file system

1. rimraf

Rimraf provides the equivalent of the UNIX rm -rf command for nodes.

 
 

2.fs-extra

FS-extra adds filesystem methods not included in the native fs module, and adds promise support for fs methods.

 
 

3.mkdirp

Like mkdir -p, mkdirp recursively creates the directory and all necessary subdirectories.

 
 

4.glob

Glob is a library for matching files using various patterns.

 
 

5.shelljs

ShellJS is a portable (Windows/Linux/OS X) implementation of the Unix shell command based on the Node.js API.

 
 

6.js-yaml

Js-yaml is an implementation of YAML, a popular human-friendly data serialization language.

 
 

3. Web framework

1. too

Koa is a new web framework designed by the team behind Express to be a smaller, more expressive, and more robust foundation for web applications and APIs.

 
 

2. express

Express.js is the most popular, fastest, and minimal node.js backend web framework.

 
 

3. Fastify

Fastify is one of the fastest scalable web frameworks focused on providing the best developer experience with the least overhead.

 
 

4. socket.io

Socket.IO enables real-time bidirectional event-based communication using long polling or WebSockets, with disconnect detection and automatic reconnection support.

 
 

4. Auxiliary development

1. is

Jest is complete and ready to set up a JavaScript testing solution

 
 

2. typescript

TypeScript is JavaScript for extensibility. It's a language that adds optional typing and compiles to plain readable JavaScript.

 
 

3.winston

Winston is a simple and general-purpose logging library that supports multiple transports.

 
 

4.debug

Debug is a tiny JavaScript debugging utility that mimics the debugging techniques at the core of Node.js.

 
 

5. eslint

ESLint is a tool for finding and fixing problems in JavaScript and TypeScript code.

 
 

6. nodemon

Nodemon is a tool that helps in the development of node.js based applications by automatically restarting the node application when it detects a file change in a directory.

 
 

7. dotenv

Dotenv is a zero-dependency module that loads environment variables from .env files into process.env

 
 

8. cross-env

Cross-env enables scripts to set and use environment variables across platforms

 
 

 

Guess you like

Origin blog.csdn.net/2201_75705263/article/details/132045159