/vibd

⚪ music library system on top of hyperdb

Primary LanguageJavaScriptApache License 2.0Apache-2.0


vibd

Kind of like the beets cli but distributed and usable in both node.js and the browser.

You can track progress towards v1 here.

See also:

table of contents

usage

cli:

Usage: vibd 

commands:

  use
  import
  list

js:

var os = require('os')
var path = require('path')
var Library = require('vibd')

var vibd = Library(path.join(os.homedir(), 'vibd'))

use

register plugins

  • cli: vibd use <middleware>
  • js: vibd.use(middleware)

import

import a collection. add support for collection type by middleware.

  • cli: vibd import (--format=<format>) [--payload=<payload>]
  • js: vibd.import(opts) // opts = { source: { format, payload } }

list

print items in library

  • cli: vibd list [<query>] [--sort=<sort>]
  • js: vibd.items(query, sort, callback)

install

with npm

globally: npm install -g vibd

as a module: npm install vibd --save

related

License

Apache License 2.0