'Node.js: How to create paid node modules?
How to sell node modules?
I need to publish my CMS plugins to NPM and allow users to install them, so some of them could be paid.
How do i do it?
Solution 1:[1]
I know this question is very old, but a lot has happened in the past years.
One solution you can use nowadays is basetools.io for selling access to your npm packages. It takes care of invoicing, billing and managing access to your packages.
Full disclosure: I am the founder of basetools.
Solution 2:[2]
Adding on to the previous answers, the best available approaches now is to create a private npm package and share it over any market place.
Available options are
-
- Its an javascript marketplace where you can sell your JS packages or purchase from others.
- Provides its own interface to create private packages so you don't need to have your own server.
- It lets you control the pricing and track downloads or grant special access as required.
- Supports scoped packages as well.
-
- Helps to create a paywall for your npm package
- Provides github integration to your private repositories.
-
- Github has recently enabled sponsor only repositories
- This enables you to give access to only those who are willing to sponsor to your project.
-
- Its an marketplace to sell anything
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Sebastian Hoitz |
| Solution 2 |
