redpill-rain

0.2.0 • Public • Published

Installation

npm install redpill-rain

Basic usage

<!-- index.html -->
 
<!doctype html>
<html>
  <body>
    <div id='root'></div>
    <script src='/index.js'></script> 
  </body>
</html>
// index.js
 
import { Rainer } from 'redpill-rain';
 
const rainer = new Rainer({
  sourceType: 'github',
  githubUsername: 'anderspitman',
  domElementId: 'root',
})

For a more complete example, see examples/github. A live version is currently running at https://anderspitman.net/apps/redpill.

Readme

Keywords

Package Sidebar

Install

npm i redpill-rain

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

12.5 kB

Total Files

12

Last publish

Collaborators

  • anderspitman