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 🙏

© 2024 – Pkg Stats / Ryan Hefner

kinghaki-api

v1.0.1

Published

An npm with some features.

Downloads

110

Readme

haki

kinghaki-api

An API package providing various utilities, including media downloading and processing features.

Installation

You can install ironman-api using npm:

npm install kinghaki-api

Features

Pinterest

Download media from Pinterest.

const { pinterest } = require('kinghaki-api');
//import { pinterest } from 'ironman-api';

(async () => {
  console.log(await pinterest('https://in.pinterest.com/pin/617204323960160868/'));
})();

You can use pin.it and in.pinterest.com URLs.

MediaFire

Download files from MediaFire.

const { mediafire } = require('kinghaki-api');
//import { mediafire } from 'kinghaki-api';

(async () => {
  console.log(await mediafire('https://www.mediafire.com/xyz.zip'));
})();

Telegraph

Upload images to Telegraph.

const { telegraph } = require('kinghaki-api');
//import { telegraph } from 'kinghaki-api';

(async () => {
  console.log(await telegraph('./img.png'));
})();

TikTok

Download videos from TikTok.

const { tiktok } = require('kinghaki-api');
//import { tiktok } from 'kinghaki-api';

(async () => {
  console.log(await tiktok('https://www.tiktok.com/videourl'));
})();

File Uploader to Uguu

Upload images to Uguu .

const { fileUguu } = require('kinghaki-api');
//import { fileUguu } from 'kinghaki-api';

(async () => {
  console.log(await fileUguu('./img.png'));
})();

M3U8 Converter

M3U8 to MP4

const { m3u8 } = require('kinghaki-api');
//import { m3u8 } from 'kinghaki-api';

const convert = new m3u8();
convert.InputFile('https://file.m3u8') //also can be a path
             .OutputFile('./output.mp4') //default is output.mp4
             //.UseCLI(true); if you want to process it using CLI
             .start({
                onStart: () => console.log('Processing started...'),
                onEnd: () => console.log('Processing finished!')
             });

Complete start options

.start({
    onStart: () => console.log('Processing started...'),
    onEnd: () => console.log('Processing finished!'),
    onProgress: (progress) => console.log(`Progress: ${progress}`),
    onStderr: (stderr) => console.error(`Error: ${stderr}`),
    onCodecData: (data) => console.log(`Codec Data: ${data}`),
    onError: (error) => console.error(`Error: ${error}`)
});

Coming Soon

This package is under development, and many exciting features are planned for future releases. Stay tuned for updates and enhancements!

Contributing

We welcome contributions! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request. If you want to contact me, check my GitHub profile.

Copyright © 2024 IRON-M4N