Binary Tree
728 subscribers
722 photos
2 videos
1 file
916 links
This is a channel about Open Source, software development, and IT in general.
Download Telegram
Best Practices for ES6 Promises

ES6 promises are great! They are integral constructs for asynchronous programming in JavaScript, ultimately replacing the old callback-based pattern that was most infamously known for bringing about deeply nested code ("callback hell").

Unfortunately, promises are not exactly the easiest concept to grasp. In this article, I will discuss the best practices I have learned over the years that helped me make the most out of asynchronous JavaScript.

#javascript, #node, #performance, #tips, #article
1👍1
TestCafe is a Node.js tool to automate end-to-end web testing.

Works on all popular environments: TestCafe runs on Windows, MacOS, and Linux. It supports desktop, mobile, remote and cloud browsers (UI or headless).

1 minute to set up: You do not need WebDriver or any other testing software. Install TestCafe with one command, and you are ready to test: npm install -g testcafe

Free and open source: TestCafe is free to use under the MIT license. Plugins provide custom reports, integration with other tools, launching tests from IDE, etc. You can use the plugins made by the GitHub community or make your own.

#javascript, #typescript, #node, #testing, #e2e, #automation, #browser
1🔥1
This media is not supported in your browser
VIEW IN TELEGRAM
Substrate is a modular blockchain framework that lets you pick and choose the right components for your application or enterprise.

Features:
- Fast and efficient database
- Modular P2P networking stack in libp2p
- Hot-swappable consensus layer
- Customizable transaction queue management system
- Rich framework for composing runtime logic.
- Mobile light client support

#rust, #blockchain, #node, #client, #parity, #platform
👍1🔥1
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.

#js, #node, #chrome, #chromium, #testing, #headless, #dev
1
Playwright is a Node.js library to automate Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.

#typescript, #ts, #node, #chromium, #automation, #browser
🔥1
TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses databases - from small applications with a few tables to large scale enterprise applications with multiple databases.

#typescript, #orm, #node, #javascript, #js, #ts, #postgresql, #mysql, #sqlite, #database
👍1
Insomnia is a cross-platform REST client, built on top of Electron.

#javascript, #js, #rest, #client, #electron, #node
👍1
n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.

#typescript, #ts, #automation, #iaas, #ipaas, #workflow, #node, #docker, #development, #cli, #api
1🔥1
tinyhttp is a modern Express-like web framework written in TypeScript and compiled to native ESM, that uses a bare minimum amount of dependencies trying to avoid legacy hell.

Here is a short list of most important features that tinyhttp has:

- 2x faster than Express
- Full Express middleware support
- Async middleware support
- Native ESM and CommonJS support
- No legacy dependencies, just the JavaScript itself
- Types out of the box
- Prebuilt middleware for modern Node.js

#typescript, #ts, #express, #web, #framework, #node, #http, #backend
🔥1
Adonis is a Node.js framework highly focused on developer ergonomics, stability and confidence

#typescript #ts #node #framework #
🔥1👏1
👍1🔥1👏1
NGINXConfig is the easiest way to configure a performant, secure, and stable NGINX server.

Features: HTTPS, HTTP/2, IPv6, certbot, HSTS, security headers, SSL profiles, OCSP resolvers, caching, gzip, brotli, fallback routing, reverse proxy, www/non-www redirect, CDN, PHP (TCP/socket, WordPress, Drupal, Magento, Joomla), Node.js support, Python (Django) server, etc.

#nginx #config #https #secure #stable #server #settings #python #django #node
1👍1🔥1
Astro is a new kind of static site builder for the modern web.

#typescript #ts #js #javascript #static #site #builder #web #html #css #node
1👍1🔥1
Bun is a modern JavaScript runtime like Node or Deno. It was built from scratch to focus on three main things:

- Start fast.
- New levels of performance.
- Being a great and complete tool.

Bun is designed as a drop-in replacement for your current JavaScript & TypeScript apps or scripts — on your local computer, server or on the edge. Bun natively implements hundreds of Node.js and Web APIs, including ~90% of Node-API functions (native modules), fs, path, Buffer and more.

The goal of Bun is to run most of the world's JavaScript outside of browsers, bringing performance and complexity enhancements to your future infrastructure, as well as developer productivity through better, simpler tooling.

#zig #node #runtime #bundler #transpiler #package #manager #javascript #js #jsx #react
2👍2🔥1👏1
Brain.js is a GPU accelerated Neural networks in JavaScript
for Browsers and Node.js

#javascript #js #node #api #browser #web #stream #neural
2👍2🔥1
tea is unified packaging infrastructure.

From the creator of brew, tea is a standalone, binary download for all platforms that puts the entire open source ecosystem at your fingertips. Casually and effortlessly use the latest and greatest or the oldest and most mature from any layer of any stack. Break down the silos between programming communities, throw together scripts that use entirely separate tools and languages and share them with the world with a simple one-liner.

#typescript #node #package #manager
👍7🤔4🔥1💩1
This media is not supported in your browser
VIEW IN TELEGRAM
tRPC allows you to easily build & consume fully typesafe APIs without schemas or code generation.

Features

  Well-tested and production ready.
🧙‍♂️  Full static typesafety & autocompletion on the client, for inputs, outputs, and errors.
🐎  Snappy DX - No code generation, run-time bloat, or build pipeline.
🍃  Light - tRPC has zero deps and a tiny client-side footprint.
🐻  Easy to add to your existing brownfield project.
🔋  Batteries included - React.js/Next.js/Express.js/Fastify adapters.
🥃  Subscriptions support.
⚡️  Request batching - requests made at the same time can be automatically combined into one
👀  Quite a few examples in the ./examples-folder

#typescript #ts #node
🔥7👍2