Tag: javascript
-
Updated
Exports, Imports, and Modules in Modern TypeScript/
JavaScript Category: JavaScript
Things start getting confusing when your npm package wants to support both ECMAScript Modules (ESM) and CommonJS (CJS), which makes it a dual-package.
-
Updated
Solidity: CREATE vs CREATE2
Category: Blockchain
How to deploy a contract using `CREATE2` which is introduced in EIP-1014 to provide more flexible address generation.
-
Updated
hardhat-deploy: Upgradeable Contracts with Linked Libraries
Category: Blockchain
Whenever the library is changed, hardhat-deploy will deploy a new implementation and upgrade the proxy.
-
Updated
Write next generation JavaScript with Babel 7
Category: JavaScript, Web Development
With the new @babel/preset-env module, it is able to intellectually convert your next generation ECMAScript code to compatible syntax based on browser compatibility statistics. So you don't have to target specific browser versions anymore!
-
Updated
MongoDB Change Stream: react to real-time data changes
Category: Database, JavaScript
MongoDB Change Stream is a high-level API that allows you to subscribe to real-time notifications whenever there is a change in your MongoDB collections, databases, or the entire cluster, in an event-driven fashion.
-
Updated
Apex and Terraform: The easiest way to manage AWS Lambda functions
Category: DevOps, Web Development
Apex is a Go command-line tool to manage and deploy your serverless functions on AWS Lambda. Apex is also integrated with Terraform to provide cloud infrastructure management, for instance, configuring your AWS Lambda functions with Amazon API Gateway.
-
Updated
MongoDB cookbook: Indexes
Category: Database
The order of fields in an index matters, you must consider Index Cardinality and Selectivity. Instead, the order of fields in a find() query doesn't affect whether it can use an index or not.
-
Updated
MongoDB cookbook: Queries and Aggregations
Category: Database, JavaScript, Python
Frequently accessed items are cached in memory, so that MongoDB can provide optimal response time.
-
Updated
Speed up Python and Node.js builds on Travis CI
Category: DevOps, JavaScript, Python
For Python and Node.js projects, you could totally cache both site-packages and node_modules directories in every Travis CI build.
-
Updated
AWS Lambda Cookbook
Category: DevOps, JavaScript, Web Development
AWS Lambda is an event-driven service that you can upload your code to it and run those code on-demand without having your own servers.