For Package Developers
PremiumJS allows you to sell code you've written.
It plays nicely with your existing npm toolchain—so publishing is as easy as
Here are a couple things that you might consider:
UI Kits (React, Vue, etc)
Boilerplates & Starter Kits
... and more!
What's in it FOR ME?
Here's what PremiumJS takes care of so you can do that:
Landing page where your customers can purchase
Versioned distribution via
Authorization so only your customers get access
Skip manual steps like emailing access keys
It's easy for your customers to download packages you've purchased.
Once authenticated via
npm login, just
npm install your-paid-package and you're all set.
Want to get an upgrade?
npm upgrade works too.
How It Works
At its core, PremiumJS is a npm-compatible package registry.
Package developers publish packages to the PremiumJS registry using
Published packages can be purchased via the PremiumJS website, and downloaded via npm (
npm install @your-namespace/package-name).
When a new version of a purchased package is published to the PremiumJS registry, purchasers get upgrades automatically by running
Package developers keep up to 95% of the sale price.
© Spencer Jones 2020. All rights reserved.
Does this replace npm?
No, there'll always be a place for public registries of open source packages. PremiumJS is a registry for paid packages.
Is this an npm mirror?
Nope. PremiumJS implements the npm-registry API but doesn't mirror their registry. A project can rely on packages from npm and PremiumJS's registry.
What about Open Source?
There's nothing stoping you from keeping your code open source and charging for it on PremiumJS (although it might impact your sales).
Not all OSS licenses are compatible with software-for-sale, however.
Is this a private registry?
Not really. The listing for packages published on PremiumJS are publicly discoverable—but only those who have purchased the package are able to download and receive upgrades.
If you need a private registry for your organization, we suggest taking a look at npm's products.
What if I want to publish my package publicly?
We suggest publishing on npm.
What happens if I publish something ... and PremiumJS goes away?
That'd be really unfortunate, but if it happens we'd make sure we kept the servers running so that there was ample time to migrate your customers onto another platform (12-18 months). We'd also consider open-sourcing our tools so you could get a jump-start if another platform wasn't available.
When will it be ready?
We don't have a date yet, but you can sign up to receive updates to keep up with our development progress.
Who's behind PremiumJS?
PremiumJS is proudly made by Spencer Jones.
I have another question...
Shoot us an email at firstname.lastname@example.org and we'd love to answer any questions.