Nothing.js – A chainable mock object which always returns itself
A chainable, callable mock object which always returns itself - slmgc/Nothing
Nothing.js – A chainable mock object which always returns itself launched on March 31, 2018 with 89 votes, #464 of 2,954 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 8 years on.
In plain words
Nothing.js is a JavaScript library that creates chainable mock objects designed to always return themselves. This tool is useful for developers who need to test code that makes multiple method calls in sequence without worrying about actual implementations. By allowing any method to be called on the object and returning the same object each time, it simplifies the process of creating flexible test doubles and mocks during software development.
written from the facts on this page · September 2026
Does a similar job
all alternatives →
js.spec, a JavaScript implementation of clojure.spec2016 · github.com · ▲96clojure.spec for Javascript. Contribute to prayerslayer/js.spec development by creating an account on GitHub.

Aimless.js – the missing js randomness library2023 · github.com · ▲64The missing JavaScript randomness library. Contribute to ChrisCavs/aimless.js development by creating an account on GitHub.
MockTheClock – A tiny JavaScript library for spoofing time in browser2015 · github.com · ▲18A tiny JS library to... spoof timers and other date/time functions. Useful for slowing down 3D animations.... - zb3/MockTheClock
Kaboom.js is a zero-dependency declarative JavaScript game library2021 · kaboomjs.com · ▲205JavaScript game programming library that helps you make games fast and fun
JavaScript port of Scientist library for refactoring critical paths2016 · github.com · ▲34:microscope: A JavaScript interpretation of the Ruby library Scientist, a library for carefully refactoring critical paths. - bugthesystem/scientist.js
Source: Show HN post ↗
Launched alongside, March 2018
the whole month →

Learn to build profitable startups the indie way
Dev tools · 2018 · readmake.com


Rough.js is a light weight javascript library that lets you draw graphics with a hand-drawn, sketchy, appearance.
Life & fun · 2018 · roughjs.com

Airtable Blocks▲877500,000+ brands use Airtable to enable real-time collaboration, automate repetitive tasks & manual work, and streamline business processes in minutes. Join them.
Dev tools · 2018 · airtable.com