Installation
The@sachithrrra/ppp package is available on NPM and can be installed using your preferred package manager.
Prerequisites
This package is designed for Node.js environments and supports ES modules. Make sure your project is configured to use ES modules.
- Node.js 14.0 or higher recommended
- ES module support (
"type": "module"in your package.json)
Package Managers
Choose your preferred package manager to install the PPP package:Package Information
The package includes:- Main module: ES module export (
index.js) - TypeScript definitions: Full type support included (
index.d.ts) - PPP data: Pre-bundled World Bank Price Level Ratios for 200+ countries
- Zero runtime dependencies: No additional packages required in production
While the package has zero runtime dependencies, development dependencies are only used for data updates and testing. Your application bundle stays lightweight.
Verify Installation
After installation, verify the package is working correctly:TypeScript Setup
If you’re using TypeScript, the package includes full type definitions out of the box:Next Steps
Now that you’ve installed the package, you’re ready to start calculating PPP-adjusted prices:Quickstart Guide
Learn how to calculate your first PPP-adjusted price
API Reference
Explore all available functions and parameters