npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@marcuth/jpexs-decompiler

v0.1.0

Published

Extract resources from SWF using open source jpexs jar library

Readme

@marcuth/jpexs-decompiler

Extract resources from SWF using the open-source JPEXS jar library (already embedded in this library). You need to install Java v8.* to use this package.

📦 Installation

npm install @marcuth/jpexs-decompiler

Donate

🛠️ Usage Example:

import * as jpexs from "@marcuth/jpexs-decompiler"
// or import { extract, Item, FontFormat } from "@marcuth/jpexs-decompiler"

jpexs.extract({
    file: "path/to/swf/file",
    output: "path/to/output/dir",
    items: [jpexs.Item.Font, ...],
    formats: [jpexs.FontFormat.Woff, ...],
    silence: false // optional. if set to `true`, there"s no console log.
}).then(() => {
    console.log("DONE!")
}).catch((err) => {
    console.log("Error: ", err.message)
})

Items

| Item | Description | Default Format | | :--- | :--- | :--- | | Item.Script | Scripts | ActionScript source | | Item.Image | Images | PNG/JPEG | | Item.Shape | Shapes | SVG | | Item.MorphShape | MorphShapes | SVG | | Item.Movie | Movies | FLV without sound | | Item.Font | Fonts | TTF | | Item.Frame | Frames | PNG | | Item.Sprite | Sprites | PNG | | Item.Button | Buttons | PNG | | Item.Sound | Sounds | MP3/WAV/FLV only sound | | Item.Binary | Binary data | Raw data | | Item.Text | Texts | Plain text | | Item.Fla | Everything to FLA compressed format | - | | Item.All | Every resource (but not FLA) | - |

Formats

| Category | Option | Description | | :--- | :--- | :--- | | Script | ScriptFormat.As | ActionScript source | | | ScriptFormat.Hex | ActionScript Hex only | | | ScriptFormat.Pcode | ActionScript P-code | | | ScriptFormat.PcodeHex | ActionScript P-code with hex | | Shape | ShapeFormat.Svg | SVG format for Shapes | | | ShapeFormat.Bmp | BMP format for Shapes | | | ShapeFormat.Png | PNG format for Shapes | | | ShapeFormat.Canvas | HTML5 Canvas format for Shapes | | Morph Shape | MorphShapeFormat.Svg | SVG format for MorphShapes | | | MorphShapeFormat.Canvas | HTML5 Canvas format for MorphShapes | | Frame | FrameFormat.Bmp | BMP format for Frames | | | FrameFormat.Png | PNG format for Frames | | | FrameFormat.Gif | GIF format for Frames | | | FrameFormat.Pdf | PDF format for Frames | | | FrameFormat.Avi | AVI format for Frames | | | FrameFormat.Svg | SVG format for Frames | | | FrameFormat.Canvas | HTML5 Canvas format for Frames | | Sprite | SpriteFormat.Png | PNG format for Sprites | | | SpriteFormat.Gif | GIF format for Sprites | | | SpriteFormat.Avi | AVI format for Sprites | | | SpriteFormat.Svg | SVG format for Sprites | | | SpriteFormat.Pdf | PDF format for Sprites | | | SpriteFormat.Bmp | BMP format for Sprites | | | SpriteFormat.Canvas | HTML5 Canvas format for Sprites | | Button | ButtonFormat.Png | PNG format for Buttons | | | ButtonFormat.Svg | SVG format for Buttons | | | ButtonFormat.Bmp | BMP format for Buttons | | Image| ImageFormat.Bmp | BMP format for Images | | | ImageFormat.Png | PNG format for Images | | | ImageFormat.Jpeg | JPEG format for Images | | | ImageFormat.All | PNG/GIF/JPEG format for Images | | Text | TextFormat.Svg | SVG format for Texts | | | TextFormat.Plain | Plain text format for Texts | | | TextFormat.Formatted | Formatted text format for Texts | | Font | FontFormat.Ttf | TTF format for Fonts | | | FontFormat.Woff | WOFF format for Fonts | | Sound | SoundFormat.Flv | FLV format for Sounds | | | SoundFormat.Wav | WAV format for Sounds | | | SoundFormat.All | MP3/WAV/FLV format for Sounds |

🤝 Contributing

  • Want to contribute? Follow these steps:
  • Fork the repository.
  • Create a new branch (git checkout -b new-feature).
  • Commit your changes (git commit -m 'Add new feature').
  • Push to the branch (git push origin new-feature).
  • Open a Pull Request.

📝 License

This project carries the license of the project from which it was forked, which is the GNU General Public License v3.0.