https://github.com/maggialejandro/basic-model
:point_right: Basic model written using Babel.
https://github.com/maggialejandro/basic-model
Last synced: 2 months ago
JSON representation
:point_right: Basic model written using Babel.
- Host: GitHub
- URL: https://github.com/maggialejandro/basic-model
- Owner: maggialejandro
- License: mit
- Created: 2015-09-07T19:29:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-15T17:54:51.000Z (almost 11 years ago)
- Last Synced: 2025-03-19T22:46:15.035Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 111 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# basic-model [](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