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

clipgen

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipgen

A web clip and adhoc config generator.

3.0.1
latest
Source
npm
Version published
Weekly downloads
11
-77.55%
Maintainers
0
Weekly downloads
 
Created
Source

Clipgen

A web clip and adhoc config generator.

Discord server npm version npm downloads

Documentation live at https://s0n1c.ca/clipgen

Installation

$ bun i clipgen

Usage

For webclips:

import { generate } from 'clipgen';

const config = await generate({
	type: 'web',
	name: "S0n1c's Site",
	author: 'S0n1c',
	desc: 'A test webclip',
	clips: [
		{
			name: 'S0n1c',
			url: 'https://s0n1c.ca',
			icon: new URL('https://s0n1c.ca/me.png'), // or an ArrayBufferLike
		},
	]
});

console.log(config); // outputs the generated config as an ArrayBuffer

For adhoc configs:

import { generate } from 'clipgen';

let config = await generate({
	type: 'adhoc',
	items: [
		{
			name: 'App Name',
			url: 'https://example.com/App.ipa',
			icon: 'https://example.com/AppIcon.png',
			identifier: 'com.example.app',
		},
	],
});

console.log(config); // outputs the generated config as an ArrayBuffer

Keywords

ios

FAQs

Package last updated on 22 Jan 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