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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • beta
  • 0.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    3
  • 0.0.1
    0

Package Sidebar

Install

npm i basic-model

Weekly Downloads

3

Version

0.0.2

License

MIT

Last publish

Collaborators

  • maggialejandro