src/tiny.js
/**
	 * Encode an integer as digits
	 * @param {number} nr integer to encode
	 * @return {string} string of digits
	 */
Encode an integer as digits
@param {number} nr integer to encode
@return {string} string of digits
Encode an integer as digits @param { number } nr integer to encode @return { string } string of digits
encode(nr) {
		let code = "";
		do {
			const n = nr % DIGITS_LEN;
			code = DIGITS[n] + code; 
			nr = (nr / DIGITS_LEN) | 0;
		} while (nr > 0);
		return code;
	}
encode ( nr ) { let code = "" ; do { const n = nr % DIGITS_LEN ; code = DIGITS [ n ] + code ; nr = ( nr / DIGITS_LEN ) | 0 ; } while ( nr > 0 ) ; return code ; }
Encode an integer as digits
 @param {number} nr integer to encode
 @return {string} string of digits
Encode an integer as digits @param { number } nr integer to encode @return { string } string of digits
//prepend
