hal-browser
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -1,4 +0,10 @@ | ||
0.0.1 (2018-??-??) | ||
0.0.2 (2018-07-02) | ||
================= | ||
* Added styles to package. | ||
* Bit more docs. | ||
0.0.1 (2018-07-02) | ||
================== | ||
* First version |
{ | ||
"name": "hal-browser", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A HAL browser middleware", | ||
@@ -19,3 +19,4 @@ "main": "dist/index.js", | ||
"dist", | ||
"LICENSE" | ||
"LICENSE", | ||
"styles" | ||
], | ||
@@ -22,0 +23,0 @@ "keywords": [ |
@@ -28,4 +28,34 @@ HAL browser | ||
... | ||
### Curveball | ||
```typescript | ||
import { Application } from 'curveball/@core'; | ||
import halBrowser from 'hal-browser'; | ||
const app = new Application(); | ||
app.use(halBrowser({ | ||
title: 'HAL Browser', | ||
stylesheets: [ | ||
// path to CSS stylesheets | ||
], | ||
}); | ||
``` | ||
The HAL browser ships with 2 really basic stylesheets in the `styles` | ||
directory: | ||
* `main.css` - Main interface css | ||
* `solarized-dark.css` - A syntax highlighting stylesheet lifted from the | ||
[Highlight.js][4] project, and originally created by (c) Jeremy Hull | ||
For best effect you'll want both stylesheets! | ||
### Express | ||
TODO | ||
### Koa | ||
TODO | ||
API | ||
@@ -37,1 +67,2 @@ --- | ||
[3]: https://koajs.com/ | ||
[4]: https://github.com/isagalaev/highlight.js/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18082
12
346
67