@dimerapp/assets-middleware
Server assets detected via dimer image
Last updated a year ago by virk .
MIT · Original npm · Tarball · package.json
$ cnpm install @dimerapp/assets-middleware 
SYNC missed versions from official npm registry.
Dimer App

Dimer is an open source project and CMS to help you publish your documentation online.


We believe every project/product is incomplete without documentation.
We want to help you publish user facing documentation, without worrying about tools or code to write.


Dimer Image

Serve images detected via @dimerapp/image

travis-image npm-image

This package can be used as a middleware to serve assets from the dist/__assets directory

Installation

npm i @dimerapp/assets-midddleware

# yarn
yarn add @dimerapp/assets-midddleware

Usage

const assetsMiddleware = require('@dimerapp/assets-midddleware')
const httpServer = require('@dimerapp/http-server')

const { router } = httpServer()
const basePath = __dirname

route.use(assetsMiddleware(basePath))

Change log

The change log can be found in the CHANGELOG.md file.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors & License

thetutlage and contributors.

MIT License, see the included MIT file.

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 2
Last Month 3
Dependencies (3)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |