npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@odesssa/partners

v3.1.0

Published

##

Readme

@odesssa/Partners

# @odesssa/partners

The `@odesssa/partners` SDK provides a TypeScript-first, configurable interface to interact with the Odessa Partners API. It is part of the broader Odessa ecosystem and is intended to be easy to configure, consume, and extend.

---

## 📦 Installation

Install the package via your preferred package manager.

### Using npm

```bash
npm install @odesssa/partners
```

Using pnpm

pnpm add @odesssa/partners

⚙️ Configuration

Before calling any APIs, you must configure the SDK using the configure function.

import Partners, { configure } from '@odesssa/partners'

configure({
  baseUrl: 'https://api.odessa.com',
  token: 'your-api-token',
  environment: 'production', // or 'test'
})

Call configure() once at the beginning of your app to ensure other modules can access the configuration.


🚀 Usage

List Locations

Using the default export:

const locations = await Partners.LocationApi.listAsync()
console.log(locations)

Or import the API directly:

import { LocationApi } from '@odesssa/partners'

const locations = await LocationApi.listAsync()

🧪 Testing

This package uses Jest for unit testing. To run tests:

pnpm test

If working inside a monorepo:

pnpm --filter @odesssa/partners test

Test files live inside the __tests__/ directory and follow standard Jest naming conventions.


🛠 Development

Technologies Used

  • TypeScript — strongly typed, modern JS
  • tsup — fast bundler for TypeScript
  • pnpm — performant package manager for monorepos
  • Jest — zero-config testing

Build Locally

pnpm build

This runs tsup to compile the source files into the dist/ directory.

Folder Structure

@odesssa/partners/
├── dist/                # Compiled output
├── src/                 # Source code
│   ├── apis/            # API handlers
│   │   └── LocationApi.ts
│   ├── config.ts        # Runtime config
│   └── index.ts         # Main entry point
├── __tests__/           # Jest tests
├── package.json
└── tsconfig.json

📁 Dependencies

External

  • @odesssa/core — shared logic for making HTTP requests
  • @odesssa/shared — constants/utilities shared across packages (marked private, bundled during build)

Internal

  • AppConfig — module-level runtime configuration

📄 License

MIT © [Your Name or Company]


🙌 Contributing

This is part of a mono-repo managed via pnpm workspaces. Contributions, feature suggestions, and issues are welcome — feel free to open a PR or submit an issue through the main repo.


📬 Contact

For support, reach out to your Odessa team or the repo maintainers.