Catalog npm
Back to packageRELEASE DETAILS

0.1.6

npm

@0x-jerry/imger

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

Published28 Jun 2022
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
cac
Environment
{
  "local_name": "cac",
  "alias": false,
  "peer_metadata": null
}
^6.7.12runtime
debug
Environment
{
  "local_name": "debug",
  "alias": false,
  "peer_metadata": null
}
^4.3.4runtime
execa
Environment
{
  "local_name": "execa",
  "alias": false,
  "peer_metadata": null
}
^6.1.0runtime
fs-extra
Environment
{
  "local_name": "fs-extra",
  "alias": false,
  "peer_metadata": null
}
^10.1.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.30.7runtime
unconfig
Environment
{
  "local_name": "unconfig",
  "alias": false,
  "peer_metadata": null
}
^0.3.4runtime
@0x-jerry/x-release
Environment
{
  "local_name": "@0x-jerry/x-release",
  "alias": false,
  "peer_metadata": null
}
^0.3.6development
@types/debug
Environment
{
  "local_name": "@types/debug",
  "alias": false,
  "peer_metadata": null
}
^4.1.7development
@types/fs-extra
Environment
{
  "local_name": "@types/fs-extra",
  "alias": false,
  "peer_metadata": null
}
^9.0.13development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^18.0.0development
@types/prompts
Environment
{
  "local_name": "@types/prompts",
  "alias": false,
  "peer_metadata": null
}
^2.0.14development
@types/sharp
Environment
{
  "local_name": "@types/sharp",
  "alias": false,
  "peer_metadata": null
}
^0.30.4development
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^6.1.2development
tsx
Environment
{
  "local_name": "tsx",
  "alias": false,
  "peer_metadata": null
}
^3.6.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^4.7.4development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^0.16.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-V33HwU836hox8u3yAJaUQCSqAofOLfc8np4+ls4+5CDJfUzFzb5o6DwW+ZjhTasDlaofD0h6FCt8/w5kuig4VQ==",
  "shasum": "d8eeebf71f3145651d464cb4fd862effa2ffdfd4",
  "tarball": "https://registry.npmjs.org/@0x-jerry/imger/-/imger-0.1.6.tgz",
  "fileCount": 6,
  "unpackedSize": 8461,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCQh+ui+brVcc1zyLZ8KBGKF8s3DQF51lXlt8s7jh4NKQIhAOfW0zplClYnsN2P7ny/EyG7p3Wi41+z9cZ5ScV8S6GQ"
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiusw1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFwQ//bfC/+pg9v3uLHAB7lJukzsiRBWsQAdEfEUt1oA94LAmIPBzv\r\nlxqZsUcLNCS/4dUBCAj+bhgL4rnaPp5JjIQGp5XIG8KyUdKbD+ZueEnj3ykC\r\ncodJkgqVUcutMfij7PEqQnQWb5s4MWCT3AzzlQINYH+0lsp/fKjiyNodslbx\r\nZzM19qJGDL5BGAf9gfB+dTa84kkUFmZsGDppn4pJpWUfVtL1nfveDZ6aIxyi\r\nrruW8JIgL/eh9iBbAzE9DcJasaARYXHx7ht2JGzbEVLTEO90pFimAV/01wSM\r\naTu3x0KpN/m1q21eohA0OoTTpwgaaecNCxEpB9afQeb97wA6eRJ3bCWl6k7W\r\nKetBcX8UTgApCvgYzNkPYbfqBodQEJaIorhTGAqys5Eq8nM2+Qd6Ow7rGsoq\r\ncoaaLkjz6mGgvVo7BM5EKhO7p2stJdkJbZcLEjq7+/Fxlzz+iINBPp/3rZpj\r\nDe4HixX6eLMjzNMninqrCBoCk18hKv4cGaDQV3rK1D647XUMtjieSO5b+1cb\r\nnQpPxi5DGm2VD8rqs9p5Ienm2u11JTkr+cfuQQ/lRh/Pj3dM+NxPDnmxyd6W\r\nRAAHBLoCpWmAe5oKYnZRUIdEK2Kf1WZCvN6330zr2936XA2W+YXY/ZNvBIdL\r\nLqxt7EbRuaBLRcyERqvDv6RdctnOF/Hhjcw=\r\n=A+gT\r\n-----END PGP SIGNATURE-----\r\n"
}

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:3c598639fe074cc90297d199aeda82f0a9dcf92baff9afcce060db3bfb8e05eb

Other collected versions

0.4.19 Mar0.4.09 Mar0.3.013 Feb0.2.215 Jul0.1.728 Jun0.1.528 JunView all collected versions →