README
@condenast/cna-st-codec
Standalone library to service all cna.st encoding requests. Below are the services provided by the library:
- Encode affilate links
- Encode product embeds
- Decode affiliate links
Installation
npm install @condenast/cna-st-codec
Usage
const cnaStCodec = require('@condenast/cna-st-codec');
let encodedLink = cnaStCodec.encodeAffiliateLink(organizationId, url);