basic-model

0.0.2 • Public • Published

basic-model Build Status

Basic model written using Babel.

Install

$ npm install basic-model --save

Usage

import Model from "basic-model";
 
class Person extends Model {
  constructor(attributes){
    super(attributes);
  }
 
  sayMyName(){
    console.log(`Hello, my name is ${this.get('name')}`);
  }
}
 

How to run locally installed gulp

$ node_modules/gulp/bin/gulp.js

License

MIT license; see LICENSE.

(c) 2015 by Alejandro Maggi

/basic-model/

    Package Sidebar

    Install

    npm i basic-model

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • maggialejandro