FastXmlParser – Faster xml library

Validate XML, Parse XML to JS/JSON and vice versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback To cover expenses, we’re planning to launch FXP Enterprise edition in parallel. Watch it for further updates, if you’re interested. Main Features Validate XML data syntactically Transform XML to JSON or Nimn Transform JSON back …

dotenv-flow npm package

dotenv is a zero-dependency npm module that loads environment variables from a .env file into process.env. dotenv-flow extends dotenv adding the ability to have multiple .env* files like .env.development, .env.test and .env.production, also allowing defined variables to be overwritten individually in the appropriate .env*.local file. Storing configuration in environment variables separate from code and grouping them by environments like development, test and production is based on The Twelve-Factor App methodology.

middy.js – stylish middleware engine for AWS Lambda

One of the main strengths of serverless and AWS Lambda is that, from a developer perspective, your focus is mostly shifted toward implementing business logic. Anyway, when you are writing a handler, you still have to deal with some common technical concerns outside business logic, like input parsing and validation, output serialization, error handling, etc. …

What is AMD, CommonJS, and UMD?

Over the years there’s been a steadily increasing ecosystem of JavaScript components to choose from. The sheer amount of choices is fantastic, but this also infamously presents a difficulty when components are mixed-and-matched. And it doesn’t take too long for budding developers to find out that not all components are built to play nicely together. …

Managing node.js project with multiple packages using lerna.js

Lerna is a tool that optimizes the workflow around managing multi-package repositories with git and npm. Splitting up large codebases into separate independently versioned packages is extremely useful for code sharing. However, making changes across many repositories is messy and difficult to track, and testing across repositories gets complicated really fast. To solve these (and many other) …

Yet another way to manage db migrations in node.js project

Using Sequelize with node.js project is great, which provides all in one pack functionalities, including migrations, ORMs, etc. Sometimes, we only need migrations without ORMs. ex: using direct GraphQL libraries to make interface. db-migrate is database migration framework for node.js. Usage is simple, install via npm, similar to sequelize.