#nodetips search results

#nodetips If you are using async/await and the `fs` module, you don't need to "promisify" the functions yourself. Just use `fs.promises` ๐Ÿ™€

loige's tweet image. #nodetips If you are using async/await and the `fs` module, you don't need to "promisify" the functions yourself. Just use `fs.promises` ๐Ÿ™€

#nodetips Did you know you can use `switch(true)` for more expressive (and concise) switch statements in #nodejs and #JavaScript? ๐Ÿ˜Ž

loige's tweet image. #nodetips Did you know you can use `switch(true)` for more expressive (and concise) switch statements in #nodejs and #JavaScript? ๐Ÿ˜Ž

#nodetips If you run `npm audit` in your CI you can test only production dependencies with: > `NODE_ENV=production npm audit` (Quite useful right now that there's an open security issue with an #ESLint dependency)

loige's tweet image. #nodetips If you run `npm audit` in your CI you can test only production dependencies with:

> `NODE_ENV=production npm audit`

(Quite useful right now that there's an open security issue with an #ESLint dependency)

#nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€

loige's tweet image. #nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€
loige's tweet image. #nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€

#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: nodejs.org/api/stream.htmโ€ฆ Built-in replacement for the `through` module which works with other types of stream

loige's tweet image. #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: nodejs.org/api/stream.htmโ€ฆ

Built-in replacement for the `through` module which works with other types of stream

Nice, didn't know that was possible. You can also use a ternary, which in my opinion makes it even more clear: #javascript #nodetips

dannymoerkerke's tweet image. Nice, didn't know that was possible.
You can also use a ternary, which in my opinion makes it even more clear: #javascript #nodetips

Many can do good marketing but only a few can do Great #Marketing . The best of them all choose both ๐Ÿ˜‰.#NodeTips #Strategy #PublicRelations

Node_Group's tweet image. Many can do good marketing but only a few can do Great #Marketing . The best of them all choose both ๐Ÿ˜‰.#NodeTips #Strategy #PublicRelations

Node.js is great for high-performance, scalable apps. Keep this in mind when architecting. Add robust error handling and logging to enable easy debugging #nodetips #programming

khemsok97's tweet image. Node.js is great for high-performance, scalable apps. Keep this in mind when architecting. Add robust error handling and logging to enable easy debugging #nodetips #programming

Want to reduce memory usage on DolphinDB nodes? ๐Ÿ› ๏ธ Check memory stats with getSessionMemoryStat, then use objs to find unreleased variables. Simple steps for better memory management! #DolphinDB #MemoryOptimization #NodeTips


"Creating a Node.js application? Use npm scripts to keep code concise and efficient. #nodetips #nodejs #programming"

khemsok97's tweet image. "Creating a Node.js application? Use npm scripts to keep code concise and efficient. #nodetips #nodejs #programming"

Need help optimizing your Node.js code? Use @NodeSource's #NodeTips to quick-start your performance gains, including caching and async programming! #nodejs

khemsok97's tweet image. Need help optimizing your Node.js code? Use @NodeSource's #NodeTips to quick-start your performance gains, including caching and async programming! #nodejs

Use worker_threads to run CPU-intensive tasks off the main event loop, keeping your app responsive. Keep your Node.js apps fast & scalable! โšก #JavaScript #BackendDev #NodeTips #Performance

nrachabathuni's tweet image. Use worker_threads to run CPU-intensive tasks off the main event loop, keeping your app responsive.

Keep your Node.js apps fast & scalable! โšก

#JavaScript #BackendDev #NodeTips #Performance

New to Node.js? Check out #NodeTips. From debugging to optimization, tips for both beginners and pros. #nodejs #programming #webdev

khemsok97's tweet image. New to Node.js? Check out #NodeTips. From debugging to optimization, tips for both beginners and pros. #nodejs #programming #webdev

Node.js developers: Focus on APIs! Identify where requests are made & create middleware functions to abstract common logic. #NodeTips #JavaScript #APIs

khemsok97's tweet image. Node.js developers: Focus on APIs! Identify where requests are made & create middleware functions to abstract common logic. #NodeTips #JavaScript #APIs

Want to get started on Node.js? Keep things organized when coding! Use ES6 modules and import/export patterns to make writing reusable modules easier. #NodeTips #ProgrammingTips #NodeJS

khemsok97's tweet image. Want to get started on Node.js? Keep things organized when coding! Use ES6 modules and import/export patterns to make writing reusable modules easier. #NodeTips #ProgrammingTips #NodeJS

. Gradient rewards smart node runners ๐Ÿ’ธโ€”Run clean, stay live, earn more. Get Started ๐Ÿ‘‡๐Ÿ‘‡ app.gradient.network/signup?code=CKโ€ฆ #DePIN #GradientNetwork #NodeTips


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


Want to reduce memory usage on DolphinDB nodes? ๐Ÿ› ๏ธ Check memory stats with getSessionMemoryStat, then use objs to find unreleased variables. Simple steps for better memory management! #DolphinDB #MemoryOptimization #NodeTips


Use worker_threads to run CPU-intensive tasks off the main event loop, keeping your app responsive. Keep your Node.js apps fast & scalable! โšก #JavaScript #BackendDev #NodeTips #Performance

nrachabathuni's tweet image. Use worker_threads to run CPU-intensive tasks off the main event loop, keeping your app responsive.

Keep your Node.js apps fast & scalable! โšก

#JavaScript #BackendDev #NodeTips #Performance

Node.js: require() imports modules in CommonJS. Use import for ES Modules. #NodeTips #JavaScript


Did you know? You can use pm2 to auto-restart Node apps after crashes or updates. Uptime made simple. #NodeTips #ACTAInsights


๐Ÿšจ Core user tip: If your phone restarts randomly, disable battery optimizations + keep it on a stable power source. It works wonders. #AcurastCore #NodeTips


. Gradient rewards smart node runners ๐Ÿ’ธโ€”Run clean, stay live, earn more. Get Started ๐Ÿ‘‡๐Ÿ‘‡ app.gradient.network/signup?code=CKโ€ฆ #DePIN #GradientNetwork #NodeTips


๐Ÿ”ฅ Nodemon to the Rescue! Ever got tired of restarting your server after every change? ๐Ÿค“ Nodemon watches your files and restarts the server for you. ๐Ÿ‘‡ Just run: npx nodemon index.js Small tool, huge productivity boost. ๐Ÿ’ƒ #DevTools #NodeTips


"Running validator nodes isn't just about earning #crypto - it's about optimal setup and maintenance.๐Ÿ”ง When in doubt, always overprovision your bandwidth. Better be safe than synced late! ๐Ÿš€ #blockchain #nodetips"


๐Ÿ”ฅ #Nodejs Tip: Use the `--inspect` flag to activate the debugger and connect with Chrome DevTools for an interactive debugging experience. Simply run `node --inspect yourfile.js` and open `chrome://inspect` in Google Chrome. Happy debugging! #NodeTips #Dev


๐Ÿ•’ Node Downtime Downtime negatively impacts your reputation. Keep your node active with a stable internet connection to avoid this. Remember, consistency is key! #NodeTips #StorXNetwork


๐Ÿ“š Running a node in Conflux? Ensure you have a stable internet connection and sufficient storage for optimal performance. ๐Ÿ› ๏ธ #NodeTips #Conflux


1Double check the $STRONG coin address โ—ฆAlways double check adresses after getting it from coinmarketcap.com, coingecko.com or from the footer of strongblock.com. โ—ฆNever send your tokens directly to a token contract address. #nodeTips #nodeArmy

Todayโ€™s #SBSupportTip: Make sure to be thoughtful and to go slowly when making transactions to avoid anything happening to your info or wallet. #NodeArmy, we have new info up on the strongblock.com regarding node making and keeping your wallet safe!



#nodetips If you run `npm audit` in your CI you can test only production dependencies with: > `NODE_ENV=production npm audit` (Quite useful right now that there's an open security issue with an #ESLint dependency)

loige's tweet image. #nodetips If you run `npm audit` in your CI you can test only production dependencies with:

> `NODE_ENV=production npm audit`

(Quite useful right now that there's an open security issue with an #ESLint dependency)

Nice, didn't know that was possible. You can also use a ternary, which in my opinion makes it even more clear: #javascript #nodetips

dannymoerkerke's tweet image. Nice, didn't know that was possible.
You can also use a ternary, which in my opinion makes it even more clear: #javascript #nodetips

#nodetips Did you know you can use `switch(true)` for more expressive (and concise) switch statements in #nodejs and #JavaScript? ๐Ÿ˜Ž

loige's tweet image. #nodetips Did you know you can use `switch(true)` for more expressive (and concise) switch statements in #nodejs and #JavaScript? ๐Ÿ˜Ž

#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: nodejs.org/api/stream.htmโ€ฆ Built-in replacement for the `through` module which works with other types of stream

loige's tweet image. #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: nodejs.org/api/stream.htmโ€ฆ

Built-in replacement for the `through` module which works with other types of stream

#nodetips If you are using async/await and the `fs` module, you don't need to "promisify" the functions yourself. Just use `fs.promises` ๐Ÿ™€

loige's tweet image. #nodetips If you are using async/await and the `fs` module, you don't need to "promisify" the functions yourself. Just use `fs.promises` ๐Ÿ™€

#nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€

loige's tweet image. #nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€
loige's tweet image. #nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€

if you are getting an error using npm update -g, try sudo npm update -g #nodetips


#nodetips If you are using async/await and the `fs` module, you don't need to "promisify" the functions yourself. Just use `fs.promises` ๐Ÿ™€

loige's tweet image. #nodetips If you are using async/await and the `fs` module, you don't need to "promisify" the functions yourself. Just use `fs.promises` ๐Ÿ™€

#nodetips Did you know you can use `switch(true)` for more expressive (and concise) switch statements in #nodejs and #JavaScript? ๐Ÿ˜Ž

loige's tweet image. #nodetips Did you know you can use `switch(true)` for more expressive (and concise) switch statements in #nodejs and #JavaScript? ๐Ÿ˜Ž

#nodetips If you run `npm audit` in your CI you can test only production dependencies with: > `NODE_ENV=production npm audit` (Quite useful right now that there's an open security issue with an #ESLint dependency)

loige's tweet image. #nodetips If you run `npm audit` in your CI you can test only production dependencies with:

> `NODE_ENV=production npm audit`

(Quite useful right now that there's an open security issue with an #ESLint dependency)

Nice, didn't know that was possible. You can also use a ternary, which in my opinion makes it even more clear: #javascript #nodetips

dannymoerkerke's tweet image. Nice, didn't know that was possible.
You can also use a ternary, which in my opinion makes it even more clear: #javascript #nodetips

#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: nodejs.org/api/stream.htmโ€ฆ Built-in replacement for the `through` module which works with other types of stream

loige's tweet image. #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: nodejs.org/api/stream.htmโ€ฆ

Built-in replacement for the `through` module which works with other types of stream

#nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€

loige's tweet image. #nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€
loige's tweet image. #nodetips With #nodejs streams, make sure to use .setEncoding('utf8') if you know that your source data is encode in UTF8. Node.js readable streams will make sure that every chunk is a valid UTF8 substring of the original content. No multibyte char will be split across chunks! ๐Ÿ™€

Many can do good marketing but only a few can do Great #Marketing . The best of them all choose both ๐Ÿ˜‰.#NodeTips #Strategy #PublicRelations

Node_Group's tweet image. Many can do good marketing but only a few can do Great #Marketing . The best of them all choose both ๐Ÿ˜‰.#NodeTips #Strategy #PublicRelations

Node.js is great for high-performance, scalable apps. Keep this in mind when architecting. Add robust error handling and logging to enable easy debugging #nodetips #programming

khemsok97's tweet image. Node.js is great for high-performance, scalable apps. Keep this in mind when architecting. Add robust error handling and logging to enable easy debugging #nodetips #programming

Need help optimizing your Node.js code? Use @NodeSource's #NodeTips to quick-start your performance gains, including caching and async programming! #nodejs

khemsok97's tweet image. Need help optimizing your Node.js code? Use @NodeSource's #NodeTips to quick-start your performance gains, including caching and async programming! #nodejs

"Creating a Node.js application? Use npm scripts to keep code concise and efficient. #nodetips #nodejs #programming"

khemsok97's tweet image. "Creating a Node.js application? Use npm scripts to keep code concise and efficient. #nodetips #nodejs #programming"

New to Node.js? Check out #NodeTips. From debugging to optimization, tips for both beginners and pros. #nodejs #programming #webdev

khemsok97's tweet image. New to Node.js? Check out #NodeTips. From debugging to optimization, tips for both beginners and pros. #nodejs #programming #webdev

Node.js developers: Focus on APIs! Identify where requests are made & create middleware functions to abstract common logic. #NodeTips #JavaScript #APIs

khemsok97's tweet image. Node.js developers: Focus on APIs! Identify where requests are made & create middleware functions to abstract common logic. #NodeTips #JavaScript #APIs

Use worker_threads to run CPU-intensive tasks off the main event loop, keeping your app responsive. Keep your Node.js apps fast & scalable! โšก #JavaScript #BackendDev #NodeTips #Performance

nrachabathuni's tweet image. Use worker_threads to run CPU-intensive tasks off the main event loop, keeping your app responsive.

Keep your Node.js apps fast & scalable! โšก

#JavaScript #BackendDev #NodeTips #Performance

Want to get started on Node.js? Keep things organized when coding! Use ES6 modules and import/export patterns to make writing reusable modules easier. #NodeTips #ProgrammingTips #NodeJS

khemsok97's tweet image. Want to get started on Node.js? Keep things organized when coding! Use ES6 modules and import/export patterns to make writing reusable modules easier. #NodeTips #ProgrammingTips #NodeJS

Loading...

Something went wrong.


Something went wrong.


United States Trends