Skip to content

About

Allows parsing of .webloc files on any platform.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

webloc-parser

Allows parsing of Apple XML and binary plist webloc files.

Examples

With filenames

const weblocParser = require('webloc-parser');

weblocParser.getUrlFromFile('/path/to/some.webloc').then(url => {
    console.log(url);
});

With data buffers

const weblocParser = require('webloc-parser');
const fs = require('fs');

fs.readFile('/path/to/some.webloc', function(err, data) {
    weblocParser.getUrl(data).then(url => {
        console.log(url);
    });
});

About

Allows parsing of .webloc files on any platform.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages