pg-ltree-util

    1.0.0 • Public • Published

    pg-ltree-util

    wercker status Coverage Status

    Functions to escape and unescape utf-8 strings to value ltree values in postgresql.

    Usage:

    import * as ltree from 'pg-ltree-util';
    console.log(ltree.escapeName('This is a test'));
    // Prints This_20is_20a_20test
    console.log(ltree.unescapeName('This_20is_20a_20test'));
    // Prints This is a test
    

    Install

    npm i pg-ltree-util

    DownloadsWeekly Downloads

    65

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • djmax