Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
openapi-overlays-js
Advanced tools
Tool to apply OpenAPI overlays, built in NodeJS with a command line interface (CLI).
This NodeJS library is an implementation of the in-progress OpenAPI Overlays Specification.
Overlays are a way to extend or enhance an existing OpenAPI description by adding, updating or removing fields. For example:
By using Overlays to describe and apply the changes, when the API description is updated, the same changes can instantly be re-applied.
Install the overlayjs
command from npm with the following command:
npm install -g openapi-overlay-js
The -g
switch installs it globally so you can use the command from anywhere on your system.
Pro-tip: use
node index.js
from the root of the project if you're using the bleeding edge of the project or working on a branch.
Example: overlayjs --openapi openapi.yml --overlay add-sparkle.yaml
Use overlayjs --help
to see the usage information.
See docs/examples for more examples.
:warning: Project status: alpha
This project is very much at an alpha stage but feedback, comments and questions are all very welcome as issues on this repository - and pull requests are also gratefully received. It would be excellent to hear what problem this tool can solve, and how you get on with it. Bonus points if you can share examples (working or broken) of what you tried.
FAQs
Tool to apply OpenAPI overlays, built in NodeJS with a command line interface (CLI).
The npm package openapi-overlays-js receives a total of 27 weekly downloads. As such, openapi-overlays-js popularity was classified as not popular.
We found that openapi-overlays-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.