Comments (5)
Chalk FTW
from trymodule.
@victorbjelkholm all of Chalk's deps are maintained by the same author, and are like 7kb or less. Not a biggie.
I would consider extending the String prototype a much more concerning proposition than a few tiny deps by the same (trusted) author.
from trymodule.
So, I've checked out both cli-color
and chalk
. Both seems good but introduces many dependencies compared to colors
. One reason why colors
have been my go-to module when it comes to colors in the terminal, is because of the simplicity and zero dependencies.
So unless someone else can recommend another zero dependency module instead of colors, I'll close this and live with colors.
from trymodule.
The network requests are the overhead really, and I would prefer to have a small number of tiny dependencies rather that a big number of them
Yeah, I'm not relying on any of the String prototype stuff that colors provide, although it does seem like I'm missusing it, and should use require('colors/safe')
instead of just require('colors')
. https://github.com/Marak/colors.js/blob/master/lib/index.js#L8
from trymodule.
Okay, cool. Up to you, man. But thats my two cents. 😄
from trymodule.
Related Issues (20)
- Be able to use a specific version of a module HOT 6
- Save/Restore session HOT 1
- Allow for default session values to be specified HOT 1
- Can't try private modules HOT 2
- Use os.homedir() instead of process.env.HOME || process.env.USERPROFILE
- Fix exec call to remove cache folder
- Be able to set a specific variable name HOT 2
- Defining an empty variable name makes a module inaccessible HOT 1
- Losing reference to module when using `lodash=_` HOT 4
- Error installing specific version HOT 2
- Idea: trymodule .
- Camelcase module constants HOT 1
- Allow multiple packages HOT 6
- How do I get specific functions of a module? HOT 1
- Multiple vulnerabilities in outdated packages
- REPL cannot start due to error with loading history HOT 4
- Should persist history between sessions HOT 1
- does this need node 5.x? HOT 2
- Support babel-node as options? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trymodule.