return-this A function that simply returns this. Useful as a chainable noop stub. Installation npm i --save return-this Usage var returnThis = require('return-this') var x = new Animal() animal.foo = returnThisanimal.bar = returnThis animal.foo().bar() License MIT