@pom421/link-clipper
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Link clipper

A ts node module to get information of an url and generate a md file with only front matter.

Installation

npm install link-clipper

Usage

import { clipLink } from "@pom421/link-clipper";

async function main() {
  const filePath = await clipLink("https://example.com", {
    outputDir: "./clipped-links",
  });
  console.log(`File created: ${filePath}`);
}

Release

// run changeset to document your new release
npx changeset

// commit your files
git add .
git commit -m "my comment"

// version package.json and publish on npmjs
npm run local-release

Readme

Keywords

Package Sidebar

Install

npm i @pom421/link-clipper

Weekly Downloads

7

Version

1.0.4

License

MIT

Unpacked Size

5.89 kB

Total Files

6

Last publish

Collaborators

  • pom421