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

bankai

Package Overview
Dependencies
Maintainers
3
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bankai - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "bankai",
"version": "1.0.0",
"version": "1.0.1",
"description": "DIY development server",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,3 +17,3 @@ # bankai [![stability][0]][1]

const sheetify = require('sheetify/stream')
const serverRouter = require('wayfarer')
const wayfarer = require('wayfarer')
const browserify = require('browserify')

@@ -23,14 +23,15 @@ const bankai = require('bankai')

const router = serverRouter()
const router = wayfarer()
http.createServer(function (req, res) {
router(req, res).pipe(res)
router(req.url)(req, res).pipe(res)
}).listen(1337)
const html = bankai.html()
router.on('/', () => html)
const js = bankai.js(browserify, '/src/index.js', { transform: 'babelify' })
router.on('/bundle.js', () => js)
const css = bankai.css(sheetify, '/src/index.css')
const html = bankai.html()
router('/bundle.css', css)
router('/bundle.js', js)
router('/', html)
router.on('/bundle.css', () => css)
```

@@ -37,0 +38,0 @@

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