file_size_url
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -30,3 +30,3 @@ # file_size_url | ||
```javascript | ||
import fileSizeUrl from 'file_size_url.js'; | ||
import fileSizeUrl from 'file_size_url'; | ||
@@ -44,3 +44,3 @@ fileSizeUrl("https://example.com/file.zip") | ||
import { Telegraf } from 'telegraf'; | ||
import fileSizeUrl from 'file_size_url.js'; | ||
import fileSizeUrl from 'file_size_url'; | ||
@@ -70,3 +70,3 @@ const bot = new Telegraf('<YOUR_BOT_TOKEN>'); | ||
import express from 'express'; | ||
import fileSizeUrl from 'file_size_url.js'; | ||
import fileSizeUrl from 'file_size_url'; | ||
@@ -73,0 +73,0 @@ const app = express(); |
{ | ||
"name": "file_size_url", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A lightweight Node.js library to fetch the file size from a remote URL without downloading the file. Zero dependencies. Returns a Promise with the file size formatted as 'B', 'KB', 'MB', 'GB', or 'TB'.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,3 +33,3 @@ # file_size_url | ||
```javascript | ||
import fileSizeUrl from 'file_size_url.js'; | ||
import fileSizeUrl from 'file_size_url'; | ||
@@ -47,3 +47,3 @@ fileSizeUrl("https://example.com/file.zip") | ||
import { Telegraf } from 'telegraf'; | ||
import fileSizeUrl from 'file_size_url.js'; | ||
import fileSizeUrl from 'file_size_url'; | ||
@@ -73,3 +73,3 @@ const bot = new Telegraf('<YOUR_BOT_TOKEN>'); | ||
import express from 'express'; | ||
import fileSizeUrl from 'file_size_url.js'; | ||
import fileSizeUrl from 'file_size_url'; | ||
@@ -76,0 +76,0 @@ const app = express(); |
16112