Skip to content

History

Revisions

  • Updated Installation (markdown)

    @Abdulkader-Safi Abdulkader-Safi committed Jul 16, 2026
    1bc7e3b
  • Follow the rename to safi-image The repo and the npm package are both safi-image now. npm refused to publish s-img: it normalises names by stripping punctuation, so s-img collided exactly with the existing simg package. Install now leads with `npm i safi-image`, with the GitHub install kept for unreleased commits.

    @Abdulkader-Safi Abdulkader-Safi committed Jul 16, 2026
    9b1974d
  • Document the library: install, usage, API, formats, previews, errors, architecture Nine pages. Written against the code rather than from memory: every export the API reference claims exists was checked, and every TypeScript sample was compiled against the published .d.ts from a clean consumer project. The page that matters most is Previews and Performance -- it is the reason the library exists, and it carries the one trap that silently costs 1.6x (hintMaxLongEdge is a hint, and JPEG's DCT only scales by powers of two, so you read the real size off the result rather than computing it). Home.md replaces the placeholder.

    @Abdulkader-Safi Abdulkader-Safi committed Jul 16, 2026
    6816fe2
  • Initial Home page

    @Abdulkader-Safi Abdulkader-Safi committed Jul 16, 2026
    3135d2f