Creates binary mask and contours (vector data) from raster image data by color differences
Install it thought NPM:
npm install magic-wand-tool
Or add from CDN:
<script src="https://unpkg.com/magic-wand-tool@latest/dist/magic-wand.min.js"></script>
MIT (c) 2014, Ryasnoy Paul