ms.js
benchmarks
ms.js | benchmarks | |
---|---|---|
8 | 14 | |
4,977 | 569 | |
0.9% | 0.5% | |
3.7 | 6.8 | |
about 1 month ago | 9 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ms.js
-
Why write a library?
Number of dependencies: one way to tell if a library is not too challenging to be used as study source is based on the production dependencies count. The fewer the better. For example, I chose debug because it only has 1 dependency (ms), while the rest of the code relies on core NodeJS modules - which is exactly what I was looking for - to learn how to build a library from scratch, not off the shelf libraries with many external deps, which in turn are based on more deps. There you go, dependency hell.
-
10 Powerful Node.js Libraries Every Developer Should Know About
8.ms
- Python package like javascript's ms package
- Effort to fix much used software library gets shut down multiple times
-
I’m one of those legendary senior devs. 40 years of experience. But I’ve been in a rut for a long time. Now I’m recovering from surgery, with 6 weeks stuck in a chair. How can I use this time to update my skills?
For recurring habits I just store an ms string, when I tick something off it adds that time for the next time it's due. Easy peasy.
-
How to create a notification/toast system in React Typescript with Redux Toolkit, Tailwind and Framer Motion
Next.js Redux Toolkit Framer Motion Tailwind Radix UI Radix colors react-use clsx lodash ms
-
I really hate it how Reddit uses "m" as the symbol for both months and minutes. When I first got to this post, all the posts said "2m." Only when I refreshed could I tell that the latter comment was made within the last few minutes rather than two months ago.
I've been fighting this in many places, but of course there are fools out there who actually defend this practice rather than be indifferent to it at worst. Fixing it in those two places would actually fix about 70–80% of all such instances, since many websites just depend on those libraries. Feel free to upvote them, respectively.
-
Caching SSM Parameter Store values in Lambda
The final and most important function of our Lambda, the loadParameters function accepts a single value named expiryTime that is by default set to 1 hour and can be overridden. I have used the ms library to set human readable time periods which will be automatically converted to milliseconds.
benchmarks
-
Show HN: Fast-maker generate fastify.js route configuration using by file system
`fast-maker` generate [fastify.js](https://github.com/fastify/fastify) route configuration using by directory structure.
Why `fast-maker`?
1. Zeor cost for routing configuration at runtime
-
Best NodeJS frameworks for seamless backend development
Community stats: Fastify has a community of 28.8k stars and 2.2k forks on GitHub.
-
10 Powerful Node.js Libraries Every Developer Should Know About
3. fastify
- Express.js vs Koa.js vs Fastify - Performance Benchmark
-
💥 Introducing Skott, the new Madge!
Fastify.js (30 files)
- Cons of Express.js
- Fastify - Fast and low overhead web framework, for Node.js
- Express enters Beta 1, proving the project is still alive
-
What are your best Node tips/tricks/discoveries from 2021?
Also, Fastify, though I haven't used it much.
-
Node.js Packages and Resources
Fastify - Fast and low overhead web framework.
What are some alternatives?
pretty-ms - Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Koa - Expressive middleware for node.js using ES2017 async functions
pretty-error - See node.js errors with less clutter
golang-for-nodejs-developers - Examples of Golang compared to Node.js for learning 🤓
date-fns - ⏳ Modern JavaScript date utility library ⌛️
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
pretty-bytes - Convert bytes to a human readable string: 1337 → 1.34 kB
KeystoneJS - The most powerful headless CMS for Node.js — built with GraphQL and React
moment-timezone - Timezone support for moment.js
Restify - The future of Node.js REST development