Getting started

Private packages for importOK

Once you subscribe to Unlimited plan, you will receive an email with a license key and access to the private repository. You can install the package directly via npm or yarn.

Please note that the Unlimited plan is fully compatible with the Free one, meaning that no code changes are needed when upgrading. All you need is to switch to the private packages as described below.

If you've previously installed the free version, the private package might not be automatically detected by npm or yarn. If this occurs, you should receive a console warning indicating that the free version is still installed. To resolve this, you'll need to remove the node_modules/@importok folder and reinstall the package.

npm

You will need to create a new file called .npmrc in your project root folder.

Then you will need to copy paste the following. Please make sure to replace $TOKEN with the token provided via email.

1@importok:registry=https://npm.importok.io/
2//npm.importok.io/:_authToken=$TOKEN

After that, you can install the package as you would normally do.

yarn

You will need to create a new file called .yarnrc.yml in your project root folder.

Then you will need to copy paste the following. Please make sure to replace $TOKEN with the token provided via email.

1npmScopes:
2 importok:
3 npmRegistryServer: https://npm.importok.io/
4 npmAlwaysAuth: true
5 npmAuthToken: $TOKEN

After that, you can install the package as you would normally do.