Skip to content

zibuthe7j11/minima-saepe-eveniet

Repository files navigation

@zibuthe7j11/minima-saepe-eveniet

npm version downloads count travis-ci

🔨 Find links from Google Docs in string or file

Usage

const findGoogleDocs = require('@zibuthe7j11/minima-saepe-eveniet');
const links = findGoogleDocs(
    `
    <https://docs.google.com/document/d/super-uniq-id/edit>
    https://docs.google.com/document/d/super-uniq-id-2/edit
    https://google.com/search?q=cookie
    `
);

console.log(links);
// - https://docs.google.com/document/d/super-uniq-id/edit
// - https://docs.google.com/document/d/super-uniq-id-2/edit

CLI

Installation

npm install -g @zibuthe7j11/minima-saepe-eveniet

Usage:

@zibuthe7j11/minima-saepe-eveniet /path/to/text/file

Related

License

The MIT License @ 2019