1.0.43 • Published 5 days ago

unundefined v1.0.43

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
5 days ago

👻 Unundefined

License of 👻 Unundefined NPM Version of 👻 Unundefined Quality of package 👻 Unundefined lint test Known Vulnerabilities Issues Socket

Proxies an object so that non of the properties will be undefined.

Wallpaper of 👻 Unundefined

Usage

npm i unundefined
import { unundefined } from 'unundefined';

const fakeWindow = unundefined(window);

console.log(fakeWindow.contains.everything.you.want);
console.log(fakeWindow.alert /* ... but also existing stuff as usual */);

See more examples in simple tests.

🖋️ Contributing

I am open to pull requests, feedback, and suggestions. Or if you like this utility, you can ☕ buy me a coffee or donate via cryptocurrencies.

You can also ⭐ star the unundefined package, follow me on GitHub or various other social networks.

✨ Partners

           

Become a partner

1.0.43

5 days ago

1.0.42

8 days ago

1.0.41

13 days ago

1.0.40

15 days ago

1.0.39

21 days ago

1.0.38

21 days ago

1.0.37

21 days ago

1.0.36

23 days ago

1.0.35

23 days ago

1.0.34

1 month ago

1.0.33

1 month ago

1.0.32

1 month ago

1.0.31

1 month ago

1.0.30

2 months ago

1.0.29

2 months ago

1.0.28

2 months ago

1.0.27

2 months ago

1.0.26

2 months ago

1.0.25

3 months ago

1.0.24

3 months ago

1.0.23

3 months ago

1.0.22

3 months ago

1.0.21

3 months ago

1.0.20

3 months ago

1.0.19

3 months ago

1.0.18

4 months ago

1.0.17

4 months ago

1.0.16

4 months ago

1.0.15

4 months ago

1.0.14

4 months ago

1.0.13

4 months ago

1.0.12

4 months ago

1.0.11

4 months ago

1.0.10

4 months ago

1.0.9

4 months ago

1.0.8

4 months ago

1.0.7

4 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.3

5 months ago

1.0.0

2 years ago

0.11.0

2 years ago