🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

snapany

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snapany

Parsing shared links into direct image and video URLs.

1.1.6
latest
npm
Version published
Weekly downloads
1
-75%
Maintainers
0
Weekly downloads
 
Created
Source

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);

Keywords

parse

FAQs

Package last updated on 01 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts