# bcore

> Core JavaScript library for browser runtime

Latest version **0.0.22** (published 2018-07-23) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.22 |
| Published | 2018-07-23 |
| First published | 2015-07-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 23.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | fish |
| Maintainers | elvira, elvira.zy, fish, guowei, polokobe, wandergis, zhouningyi |
| Keywords | javascript, browser, library |

## Links

- npm: https://www.npmjs.com/package/bcore
- Repository: https://github.com/
- npm.io page: https://npm.io/package/bcore

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.22 (latest) — 2018-07-23
- 0.0.21 — 2016-06-24
- 0.0.20 — 2016-04-14
- 0.0.19 — 2016-04-14
- 0.0.18 — 2016-03-28
- 0.0.17 — 2016-03-19
- 0.0.16 — 2016-03-19
- 0.0.15 — 2016-03-19
- 0.0.14 — 2016-03-15
- 0.0.13 — 2016-01-04
- 0.0.12 — 2016-01-04
- 0.0.9 — 2015-08-27
- 0.0.8 — 2015-08-16
- 0.0.7 — 2015-08-14
- 0.0.6 — 2015-08-13
- … 4 more at https://npm.io/package/bcore/versions

## README

bcore
=========================

浏览器基础库，提供 event, class, router 等等模块的封装


## classes

class.js    // 基类， 所有继承关系的class，都需要继承自这里
event.js    // 来自node.js，提供基础事件支持
router.js   // 提供路由支持，单页应用，或者url存储路径的情况，都可以使用这个包
cookie.js   // cookie操作
util.js

incomming

cache.js    -- localStorage, db etc.

## usage

```js
var class = require('bcore/class');
var event = require('bcore/event');
var router = require('bcore/router');
```

## DOC

### class
```
// 用法
function Constructor() {
  // super class constructor
  this._super.call(this, args....);
  // super class functions
  this._super.prototype.funcA();
}
Class.extend(Constructor, {
  //properties
});
```

### event

```

``

### router

```

```

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