# copybar

> Copybar node module

Latest version **0.1.0** (published 2017-04-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install copybar
pnpm add copybar
yarn add copybar
bun add copybar
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-04-05 |
| First published | 2017-04-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mark Hurwitz |
| Maintainers | copybar |
| Keywords | copybar, cms |

## Links

- npm: https://www.npmjs.com/package/copybar
- npm.io page: https://npm.io/package/copybar

## Dependencies (1)

- [postscribe](https://npm.io/package/postscribe.md) ^2.0.8

## Recent versions

- 0.1.0 (latest) — 2017-04-05

## README

# Copybar for npm

Copybar is a CMS for developers and none developers alike.

This module allows you to add Copybar elements to a page using JavaScript.

Install via npm:

```
$ npm install --save copybar
```

Add a target div to your HTML:

```
<body>
  <div id="script_div"></div>
</body>
```

You can import the copybar:

```
import { renderCopybar } from 'copybar';

$(document).ready(function() {
  renderCopybar({
    target: '#script_div',
    account: 'isaacnewton',
    element: 'all-about-gravity'
  });
});
```

Or you can use CommonJS:

```
var copybar = require('copybar')

$(document).ready(function() {
  copybar.renderCopybar({
    target: '#script_div',
    account: 'isaacnewton',
    element: 'all-about-gravity'
  });
});
```


# Contribute

The tests require electron && electron-mocha. If you haven't already, install these globally:

```
$ npm install -g electron electron-mocha
```

And run the tests:

```
$ npm test
```

---
_Source: https://npm.io/package/copybar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
