drive-downloadable-link

1.0.7 • Public • Published

Google Drive Downloadable Link

npm version

Effortlessly generate direct downloadable links from Google Drive shareable links.

Installation

Install the package using npm:

npm install drive-downloadable-link

Usage

Convert Google Drive shareable links into direct downloadable links in just a few steps:

  1. Import the getDownloadableLink function.
  2. Provide a Google Drive shareable link as an argument.
  3. Get a direct downloadable link for easy file downloads.

Example:

import { getDownloadableLink } from "drive-downloadable-link";

const googleDriveShareableLink =
  "https://drive.google.com/file/d/1mji3dJdO_yOjcg7mlhmSBOf2rwM7XJ5h/view?usp=sharing";
const directDownloadLink = getDownloadableLink(googleDriveShareableLink);

console.log("Direct Downloadable Link:", directDownloadLink);

Note: Ensure the link provided is in the format https://drive.google.com/file/d/....

License

This project is licensed under the ISC License.

Issues and Contributions

Found a bug or have a question? Open an issue on GitHub and let's discuss.

If you're interested in contributing, we welcome your pull requests! Check out our contribution guidelines for more information.

Package Sidebar

Install

npm i drive-downloadable-link

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

3.24 kB

Total Files

3

Last publish

Collaborators

  • aamir_mansuri