1.0.1 • Published 2 years ago

@svy/swarm-web-utils v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

utils

This library was generated with Nx.

Description

This library contains a colllection of utilities used throughout the swarm-web project but which can be usefull also independently. It inlcudes:

  • animation: an RxJS base tween utility
  • damper: simple spring damper system used to smooth out noisy signals
  • devices: a collection of methos based on the A-Frame implementation aimed to identify the device and it's capabilities.
  • sleep: alternative to setTimeout()
  • three-cleaner: deletes all elements from a Three.js Scene
  • until-destroy: Utility used to dispose dependencies created when using Akita with React class components.

Running unit tests

Run nx test utils to execute the unit tests via Jest.