Installation
Install the package in the application that receives your API data.
npm install shapewire
With pnpm:
pnpm add shapewire
With Yarn:
yarn add shapewire
Requirements
- A modern JavaScript runtime with ES2020 support.
- Native ES modules or a modern frontend bundler.
- TypeScript is optional for consumers, but provides inferred output shapes.
Import only what you use
import {pipe, rename, defaults, normalize} from 'shapewire';
The package is side-effect free and exposes a single ESM entry point, allowing modern bundlers to tree-shake unused exports.