Expose utility functions for accessing some cozy informations. all available functions
require('cozydb').api.getCozyLocale (err, locale) ->
Warning: You still need to ask the proper permissions in package.json
Model and CozyBackedModel are simple Coffeescript class, you can easily extends them :
class Note extends cozydb.CozyModel
class MagickNote extends Note
Get the first instance of a Model, or null if none exists
- Support for pouchdb & cozy-light :Simply pass a db or dbname option to americano start method.
- Better documentation