1.0.1 • Published 1 year ago
add-to-bookmarks v1.0.1
add-to-bookmarks
The addToBookmarks function allows you to add a specified URL to the browser's bookmarks with a given title.
Installation
You can install the package using npm, yarn, or pnpm.
pnpm add add-to-bookmarks
yarn install add-to-bookmarks
npm install add-to-bookmarks
Usage
import { addToBookmarks } from "add-to-bookmarks";
addToBookmarks("Example.com", "https://example.com");
tsup
Bundle your TypeScript library with no config, powered by esbuild.
How to use this
- install dependencies
# pnpm
$ pnpm install
# yarn
$ yarn install
# npm
$ npm install
- Add your code to
src
- Add export statement to
src/index.ts
- Test build command to build
src
. Once the command works properly, you will seedist
folder.
# pnpm
$ pnpm run build
# yarn
$ yarn run build
# npm
$ npm run build
- Publish your package
$ npm publish
test package
1.0.1
1 year ago