Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maggialejandro/basic-model

:point_right: Basic model written using Babel.
https://github.com/maggialejandro/basic-model

Last synced: 24 days ago
JSON representation

:point_right: Basic model written using Babel.

Awesome Lists containing this project

README

        

# basic-model [![Build Status](https://travis-ci.org/maggialejandro/basic-model.svg?branch=master)](https://travis-ci.org/maggialejandro/basic-model)

> Basic model written using Babel.

## Install

```
$ npm install basic-model --save
```

### Usage

```js
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](./LICENSE).

(c) 2015 by Alejandro Maggi