1.1.6 • Published 9 months ago

snapany v1.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

SnapAny

A JavaScript library for parsing shared links from popular content-sharing platforms into direct image and video URLs, based on the service provided by SnapAny.

Installation

You can install snapany via npm:

npm install snapany

Usage

Import the parse function into your JavaScript or TypeScript file:

You can import the library using import:

import { parse } from 'snapany';

Or using require:

const { parse } = require('snapany');

Now, you can receive the parsed data as a Promise by calling the parse function with the URL:

const result = await parse(url);
console.log(result);
1.1.6

9 months ago

1.1.5

9 months ago

1.1.4

9 months ago

1.1.3

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.1.2

9 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago