Package Exports
- @iredium/butterfly
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@iredium/butterfly) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Butterfly
Description
Express API Framework
Getting started
Make sure you have npx installed (npx is shipped by default since npm 5.2.0)
npx create-butterfly-app <my-project>Or starting with npm v6.1 you can do:
npm init butterfly-app <my-project>Or with yarn:
yarn create butterfly-app <my-project>It's as simple as that!
Using Butterfly programmatically
import Butterfly from '@iredium/butterfly'
import config from './config'
const butterfly = new Butterfly(config)
butterfly.boot()
// You can interact with the express app instance using butterfly.app