nowfound

Commerce · March 31, 2018

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.

Visit github.com ↗Alternativestop 16% of March 2018

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 →

Source: Show HN post ↗

Launched alongside, March 2018

the whole month →
  • Notion 2.0▲2,156

    The all-in-one workspace - notes, tasks, wikis, & databases

    Work · 2018 · notion.so

  • Learn to build profitable startups the indie way

    Dev tools · 2018 · readmake.com

  • Overflow▲1,139

    The world’s first user flow diagramming tool for designers

    Work · 2018 · overflow.io

  • Rough.js is a light weight javascript library that lets you draw graphics with a hand-drawn, sketchy, appearance.

    Life & fun · 2018 · roughjs.com

  • Sunsama▲999

    If Trello & Google Calendar had a baby.

    Work · 2018 · sunsama.com

  • 500,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