isaacs/inherits
View on GitHub ↗ ★ 353 JavaScript
Easy simple tiny inheritance in JavaScript
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2014-06-02 · latest 2025-04-28
20082026
-
Trivial dependencies should be inlined. Consider leftPad or isEven. Or these Koa deps: - https://github.com/isaacs/inherits/blob/main/inherits.js - https://github.com/component/toidentifier/blob/master/index.... When you're building a web…
comment by hombre_fatal · 2025-04-28 · in Show HN: Bhvr, a Bun and Hono and Vite and React Starter -
…in constructor ~= ParentConstructor.call(this) and some tools provide such things like this.super_: https://github.com/isaacs/inherits/blob/3af5a10c6b51f9e99d9f...
comment by secoif · 2016-01-28 · in Preact, a fast 3k React alternative -
…with something like node.js' util.inherits, a standalone version for the browser can be found here: https://github.com/isaacs/inherits
comment by tgriesser · 2014-06-02 · in Ask HN: Is there a consensus on the way to do JS inheritance?