UNPKG

@seasketch/geoprocessing

Version:

Geoprocessing and reporting framework for SeaSketch 2.0

10 lines 214 B
/** * Get length of string in bytes * @param str * @returns size in bytes */ export const byteSize = (str) => { const size = Buffer.from(str).length; return size; }; //# sourceMappingURL=byteSize.js.map