socialize

Use twitter as a key-value database.

Usage no npm install needed!

<script type="module">
  import socialize from 'https://cdn.skypack.dev/socialize';
</script>

README

socialize

Use twitter as a key-value database.

Use

var socialize = require('socialize');

var db = socialize({
  consumer_key: 'OH HI HOW ARE YOU',
  consumer_secret: 'OH HI HOW ARE YOU',
  access_token_key: 'OH HI HOW ARE YOU',
  access_token_secret: 'OH HI HOW ARE YOU'
});

db.put('hey', 'there', function (err, value) {
  db.get('hey', function (err, value) {
    console.log(value);
  });
});

License

MIT