url-filea
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

URL Filea Travis CI Build Status

Create and read Windows Internet Shortcut files.

NPM Badge

Install

npm install url-filea

Usage

const urlFile = require("url-filea");

(async () => {
    await urlFile("google.url", { url: "https://google.com" })

    await urlFile("google.url")
    //=> { url: "https://google.com" }
})()

API

urlFilea(filename, options?)

filename

Type: string

The name of the file to read or write to.

options

Type: object

The data to write. If not specified, the data is read instead.

Package Sidebar

Install

npm i url-filea

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.68 kB

Total Files

6

Last publish

Collaborators

  • richienb