escape-vcard-property-value

0.1.0 • Public • Published

escape-vcard-property-value

npm Version GitHub License Build Status

Escape vCard property values.

Install

$ npm install escape-vcard-property-value

Usage

var escapeVcardPropertyValue = require('escape-vcard-property-value');
 
escapeVcardPropertyValue(',');  // > '\,'
escapeVcardPropertyValue(';');  // > '\;'
escapeVcardPropertyValue('\\'); // > '\\'
escapeVcardPropertyValue('\n'); // > '\\n'

Testing

$ npm test

License

The MIT License (Expat). See the license file for details.

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i escape-vcard-property-value

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • radioactivehamster