2.7.1 • Published 8 years ago
@knoword/encoder v2.7.1
@knoword/encoder
Encodes and decodes solutions to be used in games
Installation
npm install @knoword/encoderUsage
On the server:
const {encode} = require('@knoword/encoder');
encode('apple'); // U=YXbGBwOn the client:
import {decode} from '@knoword/encoder';
decode('U=YXbGBw'); // apple