2.7.1 • Published 6 years ago
@knoword/encoder v2.7.1
@knoword/encoder
Encodes and decodes solutions to be used in games
Installation
npm install @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