Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/janl/hoodie-plugin-publish-data


https://github.com/janl/hoodie-plugin-publish-data

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/janl/hoodie-plugin-publish-data.svg)](https://travis-ci.org/janl/hoodie-plugin-publish-data)
[![Dependency Status](https://david-dm.org/janl/hoodie-plugin-publish-data.svg)](https://david-dm.org/janl/hoodie-plugin-publish-data)
[![devDependency Status](https://david-dm.org/janl/hoodie-plugin-publish-data/dev-status.svg)](https://david-dm.org/janl/hoodie-plugin-publish-data#info=devDependencies)

# Hoodie Plugin Publish Data

This plugin allows you to publish data to a shared public database and read from it.

In brief:

To publish data:

```
hoodie.publish(type, obj)
.done()
.fail()
```

To read the oublished data:

```
var publicStore = hoodie.open('plugin-publish-data');
// use regular hoodie.store methods on publicStore to work with the data
```