0.6.2 • Published 1 year ago

@schibsted/niche-utils v0.6.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year 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.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago