node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

literally

literally

a function that literally just returns your value

Installation

with npm:

$ npm install literally

or with component:

$ component install nathan7/literally

API

literally(x)

returns a function that just returns x, no matter what.

literally.async(x)

returns an asynchronous function that just returns x, no matter what.

License

MIT