0.5.2 • Published 1 month ago

@schibsted/niche-utils v0.5.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 month ago

niche-utils

This package contains utilities used in multiple projects and packages used by Niche team. Use at your own risk.

Exported methods

getEventTarget

Safely returns new EventTarget instance. If EventTarget is not supported, returns document.createElement('a') which should work the same way.

getFromLocalStorage, saveToLocalStorage, removeFromLocalStorage

Local storage methods to safely get, save and remove data from local storage. If local storage is not supported, get returns undefined and other methods do nothing.

0.5.2

1 month ago

0.5.1

3 months ago

0.5.0

7 months ago

0.4.3

7 months ago

0.4.2

9 months ago

0.4.1

9 months ago

0.4.0

9 months ago

0.3.0

10 months ago

0.2.0

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.5

10 months ago

0.0.3

10 months ago