Skip to content

SiddharthShyniben/typosquatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typosquatter

A mistake we all make:

Object.kys(someObj);

Don't you wish that the code just ignored your typo and just worked? Worry no more! Just use typosquatter.

import typosquatter from 'https://deno.land/x/typosquatter/mod.ts';

let obj = typosquatter({foo: {bar: {baz: 'lol'}}});

console.log(obj.fo.ba.bz.substrng(1)); // => ol

See? No more typos et al.

Seriously thought, don't use it in real life. The only reason to use it is when you are experimenting with code and the last thing you need is an error because of a typo.

About

Keeps you safe from typos!

Resources

License

Stars

Watchers

Forks

Packages

No packages published