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]