How to use the utf8.version function in utf8

To help you get started, we’ve selected a few utf8 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / utf8 / utf8-tests.ts View on Github external
function test_version(): void {
    if (typeof utf8.version === "string") {
        console.log(utf8.version);
    }
}
github DefinitelyTyped / DefinitelyTyped / utf8 / utf8-tests.ts View on Github external
function test_version(): void {
    if (typeof utf8.version === "string") {
        console.log(utf8.version);
    }
}

utf8

A well-tested UTF-8 encoder/decoder written in JavaScript.

MIT
Latest version published 6 years ago

Package Health Score

71 / 100
Full package analysis

Popular utf8 functions