0.0.13 • Published 7 years ago

fuzzy-proxy v0.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

fuzzy-proxy

flipactual Travis Codecov Node NPM

Fuzzy match keys on objects

FuzzyProxy

Kind: global class

new FuzzyProxy(objectToProxy)

FuzzyProxy - Creates an object with fuzzy matching capabilities

Returns: object - Fuzzy proxied object

ParamTypeDescription
objectToProxyobjectObject to apply fuzzy proxying to

Example

const bestObjectEver = new FuzzyProxy({
  tripleDouble(number) {
    return number * 3 * 2;
  },
  unicorn: '🦄',
});

bestObjectEver.uni
// → '🦄'

bestObjectEver.tripleD(13)
// → 78

Scripts

test – run the tests

npm run test

coverage – generate and view code coverage as HTML

npm run coverage

lint – lint the codebase

npm run lint

readme – generate the README

npm run readme

compile – compile the code

npm run compile

License

MIT @ Flip

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago