JSPM

undefined-is-a-function

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q42026F
  • License MIT

I fixed the internet!

Package Exports

  • undefined-is-a-function

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (undefined-is-a-function) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

"undefined is not a function"? — It is now!

A while ago a tweeted that I had fixed the internet.

image

Well, I guess that wasn't entirely accurate. I gave people the ability for them to fix the internet, but not everyone was on board.

So today, I'm making it even easier for you to fix your little corner of the interwebs.

Get the code (i.e. fix the internet)

All you have to do is this:

$ npm i --save undefined-is-a-function

Then in your code:

import { undefined } from 'undefined-is-a-function';

Fixed! undefined is now a function.

So I state again: 🎉🎉🎉 I fixed the internet! 🎉🎉🎉

(or at least until the next time)

Tests

Yes, there are tests. And they all pass.