Socket
Book a DemoInstallSign in
Socket

getassetmanifest

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getassetmanifest

- Package finds assets in file object - cli: Does that in current folder

latest
npmnpm
Version
0.0.4
Version published
Weekly downloads
1
-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

Get Asset Manifest

  • Package finds assets in file object
  • cli: Does that in current folder
npx getassetmanifest

Uploads to cloudflare

  • Uses Cloudflare's Direct Upload API flow (https://developers.cloudflare.com/workers/static-assets/direct-upload)
  • Implements parallel bucket uploads via Durable Objects for maximum speed (❌ removed the parallel nature of it since it was buggy)
  • Supports both content and binary files
  • Handles wrangler.toml/json/jsonc parsing to find assets location, applies .assetsignore filtering, with default fallback to root if no wrangler-file is present
  • Returns JWT for final deployment step

TODO:

  • ✅ Ensure to find and return _headers, _redirects in assets root
  • ✅ Turn into package and cli as well
  • Create a test repo with lot of assets
  • Benchmark: measure speed

FAQs

Package last updated on 18 Aug 2025

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