clan-server
TypeScript icon, indicating that this package has built-in type declarations

0.0.59 • Public • Published

The Clan O'Server

Clan is a super succinct, no-dependency set of utilities with a slightly opinionated collection of features that integrate particularly well when used together.

The Clan O'Server builds on these small functional compositions to create a super-tiny and agile server. Most everything is built aloft the Observable implementation of clan-fp. See the Details below about adding routes, serving files, creating sync and async middleware, and more.


NPM Build Status

Usage

yarn add clan-server
# or 
npm install --save clan-server

Try It Out!

Here's a nice way to get started:

mkdir <new project dir>
cd <project dir>
npm init
yarn add clan-server
touch server.js

Then checkout test.js for an example of importing and using clan-server.

Caught a bug?

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Install the dependencies: yarn
  3. Bundle the source code and watch for changes: npm start

After that, you'll find the code in the ./build folder!

Authors

  • Matthew Keas, @matthiasak. Need help / support? Create an issue or ping on Twitter.

Package Sidebar

Install

npm i clan-server

Weekly Downloads

3

Version

0.0.59

License

MIT

Last publish

Collaborators

  • matthiasak