0.1.0 • Published 8 years ago

escape-vcard-property-value v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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.