okdistribute / deltachat-js

abstract javascript api for deltachat
GNU General Public License v3.0
2 stars 0 forks source link

deltachat-js

abstract js bindings for deltachat-core

npm Build Status Node version Coverage Status dependencies JavaScript Style Guide

WORK IN PROGRESS The API can change at any time and will not follow semver versioning until v1.0.0 has been released.

deltachat-js primarily aims to offer two things:

Install

npm install deltachat-js

See example usage in test/binding.js.

// all of the function names in deltachat that you need to implement
var functionNames = require('deltachat-js/dc_functions')

// an example implementation of the above functions
var binding = require('./test/binding')

// pass bindings into the deltachat wrapper
var dc = new DeltaChat(binding)

dc.configure(...)

License

Licensed under the GPLv3, see LICENSE file for details.

Copyright © 2018 Delta Chat contributors.

initial commit