Giter Club home page Giter Club logo

app-base's Introduction

Beating the boilerplate with elegance. Basic and common methods for your node.js application.

code climate standard code style travis build status coverage status dependency status

That's temp fork of app-base

If you want to install it use the user/repo pattern that npm provides.

npm i tunnckoCore/app-base --save

Usage

For more use-cases see the tests

const AppBase = require('app-base').AppBase

// or just use the instance
const app = require('app-base')

app.define('hello', function helloWorld (foo, world) {
  console.log('Hello', foo, world)
})
app.hello('bar', 'qux') // => 'Hello bar qux'

Instance methods

Using following libraries, they internally pass this (the instance) as first argument.

console.log(app)           // => AppBase { AppBase: [Function: AppBase] }
console.log(app.delegate)  // => [Function: delegateProperties]
console.log(app.define)    // => [Function: defineProperty]

Static methods

Using following libraries:

console.log(AppBase)           // => [Function: AppBase]
console.log(AppBase.delegate)  // => [Function: delegate]
console.log(AppBase.define)    // => [Function: defineProperty]
console.log(AppBase.extend)    // => [Function: extend]

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.

tunnckoCore.tk keybase tunnckoCore tunnckoCore npm tunnckoCore twitter tunnckoCore github

app-base's People

Contributors

tunnckocore avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.