Cli for Ash framework
Last updated 3 years ago by ash-framework .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ash-framework/cli -g
SYNC missed versions from official npm registry.


The Media Suite

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status

Cli for Ash framework



  • Install: npm install --global @ash-framework/cli
  • Executable: ash


Getting started

Before you begin

  1. Make sure you are running the latest version of node js (At least version 7)

  2. Install yarn

npm install --global yarn

Install cli

You can install the Ash cli either via yarn or npm

// option 1. via yarn
yarn global add @ash-framework/cli
// option 2. via npm
npm install --global @ash-framework/cli

Scaffold up a new project

mkdir my-awesome-project
cd my-awesome-project
ash init

Create your first route

ash generate route posts

Edit your app/routes/posts.js route file to return something from the provided model hook

// app/routes/posts.js
import Ash from '@ash-framework/ash'

export default class PostsRoute extends Ash.Route {
  model () {
    return [
      {id: 1, title: 'My post 1', description: 'WoW'},
      {id: 2, title: 'My post 2', description: 'WoWsErS'}

Run the server

ash server


Discover the release history by heading on over to the releases page.



These amazing people are maintaining this project:

  • Richard Walker digitalsadhu@gmail.com


These amazing people have contributed finances to this project:

Become a sponsor!


These amazing people have contributed code to this project:


Unless stated otherwise all works are:

and licensed under:

Current Tags

  • 0.1.3                                ...           latest (3 years ago)

4 Versions

  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (17)
Dev Dependencies (8)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |