Skip to content

elszczepano/find-google-docs-in-string

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

find-google-docs-in-string

npm version downloads count dependencies travis coveralls snyk

🔨 Find links from Google Docs in string or file

Installation

npm install -g find-google-docs-in-string

Usage

const findGoogleDocs = require('find-google-docs-in-string');
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

find-google-docs-in-string /path/to/text/file

Unit tests

npm test

Code coverage

npm run coverage

Related

License

The MIT License @ 2019

About

🔨 Find links from Google Docs in string and file

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%