Skip to content

1.0.0

Compare
Choose a tag to compare
@jhermsmeier jhermsmeier released this 28 Jun 13:52
· 78 commits to master since this release
1.0.0
ee07f40

General, Functionality

  • Overhauled data structure
  • Replaced vCard.foldLine() with foldline module
  • Added check for supported versions
  • vcard.parse( input ) now throws on empty input

Constructors

  • Added new vCard.Property( field, value, params )

Properties

  • Added vCard.mimeType
  • Added vCard.extension

Static Methods

  • Added vCard.normalize( string )
  • Added vCard.format( card, version )
  • Added vCard.isSupported( version )
  • Added vCard.fromJSON( data )
  • Added vCard.parseMultiple( value )

Methods

  • Added vCard#setProperty( prop )
  • Added vCard#add( key, value, params )
  • Added vCard#addProperty( prop )
  • Added vCard#toJSON()
  • Added vCard#toString( version )