Update README.md
This commit is contained in:
parent
19a2f21259
commit
a5a68d53af
2 changed files with 18 additions and 24 deletions
40
README.md
40
README.md
|
@ -8,9 +8,9 @@ A unified shared library which aids in building fuzzers for browsers or as compl
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://standardjs.com"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="JavaScript Style Guide"></a>
|
<a href="https://standardjs.com"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="JavaScript Style Guide"></a>
|
||||||
<a href="https://travis-ci.org/MozillaSecurity/octo"><img src="https://api.travis-ci.org/MozillaSecurity/octo.svg?branch=master" alt="Build Status"></a>
|
<!--<a href="https://travis-ci.org/MozillaSecurity/octo"><img src="https://api.travis-ci.org/MozillaSecurity/octo.svg?branch=es6" alt="Build Status"></a>-->
|
||||||
<a href="https://img.shields.io/github/release/mozillasecurity/octo.svg"><img src="https://img.shields.io/github/release/mozillasecurity/octo.svg" alt="Current Release"></a>
|
<!--<a href="https://img.shields.io/github/release/mozillasecurity/octo.svg"><img src="https://img.shields.io/github/release/mozillasecurity/octo.svg" alt="Current Release"></a>-->
|
||||||
<a href="https://coveralls.io/github/MozillaSecurity/octo?branch=master"><img src="https://coveralls.io/repos/github/MozillaSecurity/octo/badge.svg?branch=master" alt="Coverage Status"></a>
|
<!--<a href="https://coveralls.io/github/MozillaSecurity/octo?branch=es6"><img src="https://coveralls.io/repos/github/MozillaSecurity/octo/badge.svg?branch=es6" alt="Coverage Status"></a>-->
|
||||||
<a href="https://www.irccloud.com/invite?channel=%23fuzzing&hostname=irc.mozilla.org&port=6697&ssl=1"><img src="https://img.shields.io/badge/IRC-%23fuzzing-1e72ff.svg?style=flat" alt="IRC"></a>
|
<a href="https://www.irccloud.com/invite?channel=%23fuzzing&hostname=irc.mozilla.org&port=6697&ssl=1"><img src="https://img.shields.io/badge/IRC-%23fuzzing-1e72ff.svg?style=flat" alt="IRC"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -18,41 +18,37 @@ Octo.js bundles core functions and generic boilerplate code commonly used in mos
|
||||||
|
|
||||||
Octo's future aims to be a stable, well-tested and well-documented standard library for fuzzing in a JavaScript environment.
|
Octo's future aims to be a stable, well-tested and well-documented standard library for fuzzing in a JavaScript environment.
|
||||||
|
|
||||||
|
## Note
|
||||||
|
The ES6 branch is under active development while we are incorporating it with our existing fuzzers.
|
||||||
|
|
||||||
|
|
||||||
|
## Playbook
|
||||||
|
|
||||||
|
https://runkit.com/posidron/octo-js-playbook
|
||||||
|
|
||||||
|
|
||||||
## Node
|
## Node
|
||||||
|
|
||||||
```
|
```
|
||||||
npm i @mozillasecurity/octo --save-dev
|
npm i @mozillasecurity/octo
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
const {random} = require('@mozillasecurity/octo')
|
const {random} = require('@mozillasecurity/octo')
|
||||||
|
random.init()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Browser
|
## Browser
|
||||||
|
|
||||||
|
We have not yet merged ES6 to master, hence the browser version which was released on master is not up-to-date.
|
||||||
|
Use the `dist/octo.js` version of this branch by running the following command.
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
```html
|
|
||||||
<!-- Latest -->
|
|
||||||
https://mozillasecurity.github.io/octo/octo.js
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```html
|
|
||||||
<!-- Release -->
|
|
||||||
https://github.com/mozillasecurity/octo/releases/download/0.0.3/octo.js
|
|
||||||
```
|
|
||||||
|
|
||||||
```html
|
|
||||||
<!-- Release -->
|
|
||||||
https://cdn.jsdelivr.net/gh/MozillaSecurity/octo@0.0.3/deploy/octo.js
|
|
||||||
```
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -70,7 +66,5 @@ The automated tests are run in Firefox or Chrome using [Karma](https://karma-run
|
||||||
To run the automated tests:
|
To run the automated tests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install
|
npm test
|
||||||
CHROME_BIN=chromium npm test
|
|
||||||
```
|
```
|
||||||
When adding new files, add them in `index.html` and `karma.conf.js` so they can be tested and included in coverage reports.
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@mozillasecurity/octo",
|
"name": "@mozillasecurity/octo",
|
||||||
"version": "1.0.10",
|
"version": "1.0.11",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"fuzzing",
|
"fuzzing",
|
||||||
|
|
Loading…
Reference in a new issue