@condenast/cna-st-codec

Standalone library to service all cna.st encoding requests. Below are the services provided by the library:

Usage no npm install needed!

<script type="module">
  import condenastCnaStCodec from 'https://cdn.skypack.dev/@condenast/cna-st-codec';
</script>

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);