@goldyjs/shared

v1.1.0

Published

Useful common abstractions

Readme

semantic-release: commitizen Commitizen friendly

Install

$ npm install --save @goldyjs/shared

Use

Base

import Base from "@goldyjs/shared/Base"

class FooBar extends Base {
  a = 1
  b = [5]
}

const foo = new Foo()

foo.variables // { a: 1, b: [5] }
foo.prettyClassName // Foo bar
foo.logPrefix // [FooBar]