1.0.3 • Published 2 years ago

@david18284/one-euro-filter v1.0.3

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
2 years ago

one-euro-filter-js

One Euro Filter

This is the JavaScript version using class available on https://cristal.univ-lille.fr/~casiez/1euro/.

I converted it to an ES module, added compilation to create a UMD version, and uploaded it to npm. I also converted the test to a mocha test. Credit for the filter goes to the original author Géry Casiez.

Usage

Node.js

const OneEuroFilter = require('@david18284/one-euro-filter').OneEuroFilter;

ES6

import { OneEuroFilter, LowPassFilter } from '@david18284/one-euro-filter';