Skip to content

Commit b64a5f6

Browse files
committed
Reclassify dependency and update instructions
1 parent 8166d40 commit b64a5f6

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Command-line utility that slices an input image into segments according to specified width and height, and outputs those segments into a folder.
44

5+
## Install
6+
7+
- `git clone https://github.com/thinknathan/node-image-slice`
8+
- `npm i`
9+
or
10+
- `yarn`
11+
512
## Usage
613

714
`node slice.cjs <filename> <width> [height]`

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"prettier": "prettier \"./**/*.{cjs,md,json}\" --write"
1818
},
1919
"devDependencies": {
20-
"jimp": "~0.22.10",
2120
"prettier": "^3.1.1"
21+
},
22+
"dependencies": {
23+
"jimp": "~0.22.10"
2224
}
2325
}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ isomorphic-fetch@^3.0.0:
362362
node-fetch "^2.6.1"
363363
whatwg-fetch "^3.4.1"
364364

365-
jimp@^0.22.10:
365+
jimp@~0.22.10:
366366
version "0.22.10"
367367
resolved "https://registry.yarnpkg.com/jimp/-/jimp-0.22.10.tgz#2cc3e265a99cdbe69ec60ddd57cbcde6a6cf0519"
368368
integrity sha512-lCaHIJAgTOsplyJzC1w/laxSxrbSsEBw4byKwXgUdMmh+ayPsnidTblenQm+IvhIs44Gcuvlb6pd2LQ0wcKaKg==

0 commit comments

Comments
 (0)