node package manager

@knoword/encoder

@knoword/encoder

CircleCI

Encodes and decodes solutions to be used in games

Installation

yarn add @knoword/encoder

Usage

On the server:

const {encode} = require('@knoword/encoder');
 
encode('apple');
// U=YXbGBw 

On the client:

import {decode} from '@knoword/encoder';
 
decode('U=YXbGBw');
// apple