@zemax/mf-js

3.0.1 • Public • Published

mf JS modules

My personnal daily used stuffs for JS. Feel free to use it.

Install

npm install @zemax/mf-js

Use

Use ES6 import

import domready from 'mf-js/modules/dom/ready';

I also advise you to get some core-js and whatwg-fetch polyfills, and starts some happy modern coding !

import 'core-js/features/object/assign';
import 'core-js/features/object/values';
import 'core-js/features/array/from';
import 'core-js/features/array/for-each';
import 'core-js/features/symbol/iterator';
import 'core-js/features/promise';

Changelog

2016/11/21

  • added CSS state for RWD
  • added Fullscreen helper
  • some unit tests improvments

2016/11/18

  • v2 ! Breaking changes !
  • ES6 + CommonJS syntax : use Babel (seriously, use it)
  • Drop support of deprecated polyfills
  • Completed tests

2016/03/31

  • added Easing functions
  • added LatLng distance function

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.12
3.0.00

Package Sidebar

Install

npm i @zemax/mf-js

Weekly Downloads

2

Version

3.0.1

License

MIT

Unpacked Size

32.1 kB

Total Files

32

Last publish

Collaborators

  • zemax