@financial-times/o-utils

2.2.1 • Public • Published

o-utils MIT licensed

Origami JS helpers.

Usage

Check out how to include Origami components in your project to get started with o-utils.

JavaScript

	import * as Utils from 'o-utils';
	const myFunction = () => {};
	Utils.throttle(myFunction, 100);
	Utils.debounce(myFunction, 100)

For more detailed explanation, refer to our JSDoc

Contributing

This module is suitable for helper functions that need to be used commonly in other modules like throttle and debounce. These must be kept to a minimum.

Migration Guide

State Major Version Last Minor Release Migration guide
✨ active 2 N/A migrate to v2
⚠ maintained 1 1.1 -

Contact

If you have any questions or comments about this component, or need help using it, please either raise an issue, visit #origami-support or email Origami Support.


Licence

This software is published by the Financial Times under the MIT licence.

Package Sidebar

Install

npm i @financial-times/o-utils

Weekly Downloads

3,432

Version

2.2.1

License

MIT

Unpacked Size

6.41 kB

Total Files

7

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson