0.2.1 • Published 8 years ago

ellie v0.2.1

Weekly downloads
1
License
WTFPL
Repository
github
Last release
8 years ago

ellie

Usage

Simple installation

> echo {} > package.json
> npm install --save ellie eliot
> touch index.js

Simple API

// index.js

import { pipe, serve } from 'ellie'

const HelloWorld = () => (request) => {
  return (
    <h1>Hello world, from {request.url}!</h1>
  )
}

const pipeline = pipe(HelloWorld)

serve(pipeline)
  .listen(8080)
  .then(() => console.log('Listening to port 8080'))

Run instantly

> eliot index.js --jsx
Listening to port 8080
0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.0

8 years ago