nise
nise copied to clipboard
Module entry point "nise.js" is wonky
package.json
lists "module": "nise.js"
as an entrypoint, but the nise.js
file is a UMD module, not a ES module.
Additionally, the shape of the module when I use a ESM import is wonky. Here's what I get from Node CLI:
>>> await import("nise")
[Module: null prototype] {
default: {
fakeServer: {
// ...
},
fakeServerWithClock: {
// ...
},
fakeXhr: {
// ...
}
},
fakeServer: {
// ...
}
}