A ts node module to get information of an url and generate a md file with only front matter.
npm install link-clipper
import { clipLink } from "@pom421/link-clipper";
async function main() {
const filePath = await clipLink("https://example.com", {
outputDir: "./clipped-links",
});
console.log(`File created: ${filePath}`);
}
// 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