Skip to content

apalaniuk/webloc-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published