Catalog npm
Back to packageRELEASE DETAILS

0.4.1

npm

@0x-jerry/imger

A command line tool that help you to generator images, support icns and ico.

Published9 Mar 2024
Direct dependencies19
Transitive dependenciesNot calculated

README

Current package documentation

Imger

A command line tool that help you to generator images, support icns and ico.

Install

pnpm i @0x-jerry/imger

Global install:

pnpm add -g @0x-jerry/imger

Usage

Use default preset.

imger ./path/to/image.png ./output

Use json preset file.

./preset.json:

{
  "input": "path/to/image",
  "output": "path/to/output/dir",
  "shapes": [
    "icon.ico",
    "icon.icns",
    "128x128.png",
    "128x128@2x.png",
    "512x512.png",
    {
      "name": "custom-name.png",
      "size": "25x25"
    },
    {
      "name": "custom-name@2x.png",
      "size": "25x25@2x"
    }
  ]
}
imger -p ./preset.json

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 19

Native requirements
19 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0x-jerry/utils
Environment
{
  "local_name": "@0x-jerry/utils",
  "alias": false,
  "peer_metadata": null
}
^2.1.1runtime
cac
Environment
{
  "local_name": "cac",
  "alias": false,
  "peer_metadata": null
}
^6.7.14runtime
debug
Environment
{
  "local_name": "debug",
  "alias": false,
  "peer_metadata": null
}
^4.3.4runtime
execa
Environment
{
  "local_name": "execa",
  "alias": false,
  "peer_metadata": null
}
^8.0.1runtime
fs-extra
Environment
{
  "local_name": "fs-extra",
  "alias": false,
  "peer_metadata": null
}
^11.2.0runtime
picocolors
Environment
{
  "local_name": "picocolors",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
png2icons
Environment
{
  "local_name": "png2icons",
  "alias": false,
  "peer_metadata": null
}
^2.0.1runtime
prompts
Environment
{
  "local_name": "prompts",
  "alias": false,
  "peer_metadata": null
}
^2.4.2runtime
sharp
Environment
{
  "local_name": "sharp",
  "alias": false,
  "peer_metadata": null
}
^0.33.2runtime
unconfig
Environment
{
  "local_name": "unconfig",
  "alias": false,
  "peer_metadata": null
}
^0.3.11runtime
@0x-jerry/x-release
Environment
{
  "local_name": "@0x-jerry/x-release",
  "alias": false,
  "peer_metadata": null
}
^1.0.0development
@types/debug
Environment
{
  "local_name": "@types/debug",
  "alias": false,
  "peer_metadata": null
}
^4.1.12development
@types/fs-extra
Environment
{
  "local_name": "@types/fs-extra",
  "alias": false,
  "peer_metadata": null
}
^11.0.4development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.11.25development
@types/prompts
Environment
{
  "local_name": "@types/prompts",
  "alias": false,
  "peer_metadata": null
}
^2.4.9development
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.0.2development
tsx
Environment
{
  "local_name": "tsx",
  "alias": false,
  "peer_metadata": null
}
^4.7.1development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.4.2development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^1.3.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-G4o/TsnUwlezlPxTVcRxrUsnvX1fkTl7RwjXOB1gdAb3eFXlm/qaohRJaf0hmTF8hfhqS/9S7ogRJTidxzuDgg==",
  "shasum": "0e28a25bf57dbc43a06f344440291ccf08590a40",
  "tarball": "https://registry.npmjs.org/@0x-jerry/imger/-/imger-0.4.1.tgz",
  "fileCount": 6,
  "unpackedSize": 9795,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDq+z/X/QSqD7aTegrJ0U2PCrpcbmx521ECacuTdrFQLgIgNYoEkW+KL7H0IfUkhDHa72n9P35zvuNJ/XFiVNkA8b8="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:7f7cc6809b2ca6930a4c3f8ebfeb4a7c981bc03bb93768d5df172687e3351e1f

Other collected versions

0.4.09 Mar0.3.013 Feb0.2.215 Jul0.1.728 Jun0.1.628 Jun0.1.528 JunView all collected versions →