Removing duplicates from arrays and files
Instalation
NPM:
npm i remove-dupl --save
Yarn:
yarn add remove-dupl
Usage
const removeFromArray removeFromFile = ; const newArr = ;const count = ;
If the path to the new file is empty, it will overwrite the original file.
License
MIT © Joyent, Inc. and other Node contributors