Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hal-browser

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hal-browser - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

styles/main.css

8

changelog.md

@@ -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

5

package.json
{
"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/
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc