This repository contains a collection of packages that make up the shared libraries for Idearium applications running on Node.js. Any code that is used across multiple applications (or within multiple Docker containers) should live here.
You can read more about how the libraries work by reading the documentation.
All the libraries are stored under packages/*
.
Defaults for our Elastic APM integration.
Easily load custom and OS certificate authority certs into Node.js.
A library to make working with cookies in Node.js easier.
Making it painless to encrypt and decrypt plain text.
Making fetch requests easy.
A library to make working with Kue painless.
Manage multiple lists of information and retrieve the data in various formats.
To manage application logging in Node.js.
Express middleware to log HTTP requests.
Works with @idearium/log to enable sending logs to InsightOps.
Works with @idearium/log to update log output to match GCP Structured Logging requirements.
Easily create connections to MongoDB via Mongoose.
Wrapper around the Twilio phone lookup api.
Makes working with Promise.allSettled
easier.
The Idearium ioredis connection wrapper.
Makes working with Promises safer.
Idearium's implementation of Open Telemetry to support telemetry reporting in Node.js applications.
Function to help sort arrays by text.
We use Docusaurus for our documentation. To get started
$ cd docusaurus
$ yarn start
It's that easy! You can now make changes to the documentation and they will be live reloaded in the browser.
This is a newer version of idearium-lib, in monorepo format. The previous version of was monolithic and is still used in some projects.
In order to be able to maintain that code and release updated versions as required, the legacy
branch exists.
In order to update the older code, branch from legacy
and create PRs with legacy
as the base branch.