I need a lot of the same functions when writing a traditional front end every day, so I need to write a library that I can use on my browser, and that's it. Most of the code in the library has passed unit testing, but please be cautious in production environments. Most of the parts that do not contain unit tests are DOM operation-related functions, as well as some asynchronous code.
Download rx-util.min.js and import it in HTML
The development environment is more recommended to use rx-util.js with uncompressed code and all comment content.
Modern front end
If you use a modern front-end build tool (real projects are not used, but our tests are available), you can also install them into your project.
yarn add rx-util
npm i rx-util
Then use the named import to