0.2.0 • Published 6 years ago

node-traktor v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

node-traktor

stability - experimental

scripts for working with traktor files

api

traktor.locate(cb)

calls back node-style with the path to a traktor root folder.

also usable on the command line (traktor locate)

traktor.Collection

collection.load(source) -> this

source can be

  • a filepath that points to a collection.nml
  • an object that represents a collection file

returns a promise that resolves with the collection when it has been loaded

collection.entries() -> Array

returns a list of entry items that represent music files

collection.toXML() -> xml_string

returns an xml string representation of the current tree

license

MIT