-
#nodetips If you are using async/await and the `fs` module, you don't need to "promisify" the functions yourself. Just use `fs.promises`
pic.twitter.com/RuOpfHZ5st
-
#nodetips Did you know you can use `switch(true)` for more expressive (and concise) switch statements in#nodejs and#JavaScript?
pic.twitter.com/URx21vDQLQ
-
#nodetips If you need to generate a once-off Transform stream, you don't necessarily need to write a class. In fact, you can use the "Simplified Construction" technique: https://nodejs.org/api/stream.html#stream_simplified_construction … Built-in replacement for the `through` module which works with other types of stream pic.twitter.com/JTB1MlN5Lv
-
ESLint is your friend - even if you don't use a linter in your projects, using a default ESLint config is a good first step.
#nodetips -
if you are getting an error using npm update -g, try sudo npm update -g
#nodetips -
Seven Things You Should Stop Doing with Node.js http://webapplog.com/seven-things-you-should-stop-doing-with-node-js/ …
#nodejs#tips#nodetips#javascript -
Nice, didn't know that was possible. You can also use a ternary, which in my opinion makes it even more clear:
#javascript#nodetips pic.twitter.com/opvn66pc5Q
-
Many can do good marketing but only a few can do Great
#Marketing . The best of them all choose both
.#NodeTips#Strategy#PublicRelationspic.twitter.com/qUHH0BePB0
-
Pre-currying functions which use callbacks to allow for partial application before passing to async == pretty code
#nodetips -
Automated deployment of node.js apps – Carbon Silk - Developing ideas by James Broad http://bit.ly/MSuhNX via
@feedly#nodetips -
#nodetips Run npm prune to unbuild modules not listed in package.json.@nodejs@npmjs#javascript -
Mode: I Monte Carlo är det high class all the way https://inredningsvis.se/mode-i-monte-carlo-ar-det-high-class-all-the-way/ … via
@inredningsvis#nodetips#montecarlo#franskarivieran -
-
npm doesn't work through your company proxy? run: npm config set proxy http://proxy.company.com:8080
#nodetips#node#nodejs cc@NodeJsCommunity
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.