New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

the-ordinary-unofficial-api

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

the-ordinary-unofficial-api

Unofficial API for The Ordinary skincare products

latest
npmnpm
Version
1.0.1
Version published
Maintainers
0
Created
Source

The Ordinary Unofficial API

An unofficial TypeScript API for accessing The Ordinary product information. This project is not affiliated with, endorsed by, or connected to The Ordinary, DECIEM, or any of their subsidiaries or affiliates.

🛠️ Technical Stack

This modern API is built with cutting-edge technologies:

  • TypeScript - Fully typed for enhanced developer experience and code reliability
  • Vite - Next-generation frontend tooling for optimal build performance
  • ESM/UMD Support - Dual module format support for maximum compatibility
  • Source Maps - Included for better debugging experience
  • Type Declarations - Automatically generated .d.ts files
  • Module Resolution - Uses modern bundler-style module resolution
  • Path Aliases - Configured with TypeScript path aliases for clean imports

🚀 Features

  • Type-safe product information access
  • Modern ES modules support
  • Tree-shakeable for optimal bundle size
  • Comprehensive TypeScript declarations

📦 Installation

npm install the-ordinary-unofficial-api

🔧 Usage

import { getProduct } from 'the-ordinary-unofficial-api';

// Get product information
const product = getProduct('niacinamide-10-zinc-1');

This is an unofficial API and is not affiliated with, endorsed by, or connected to The Ordinary or DECIEM. All product names, logos, and brands are property of their respective owners. This project is intended for educational and portfolio purposes only.

📝 License

MIT License

🛠️ Development

This project uses:

  • vite for building and development
  • vite-plugin-dts for TypeScript declaration generation
  • Modern TypeScript configuration with strict type checking
  • ESLint and Prettier for code quality

To build the project:

npm install
npm run build

Keywords

the-ordinary

FAQs

Package last updated on 06 Feb 2025

Did you know?

Socket

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.

Install

Related posts