/
opt
/
canhelp
/
node_modules
/
@img
/
colour
/
/opt/canhelp/node_modules/@img/colour
mkdir
upload
Name
Size
Mode
Actions
color.cjs
45136
0644
edit
dl
rm
index.cjs
49
0644
edit
dl
rm
index.d.ts
21569
0644
edit
dl
rm
LICENSE.md
4433
0644
edit
dl
rm
package.json
1515
0644
edit
dl
rm
README.md
562
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/@img/colour/package.json
(1515B)
{ "name": "@img/colour", "version": "1.1.0", "description": "The ESM-only 'color' package made compatible for use with CommonJS runtimes", "license": "MIT", "main": "index.cjs", "types": "index.d.ts", "exports": { ".": { "types": "./index.d.ts", "require": "./index.cjs", "default": "./index.cjs" }, "./package.json": "./package.json" }, "authors": [ "Heather Arthur <fayearthur@gmail.com>", "Josh Junon <josh@junon.me>", "Maxime Thirouin", "Dyma Ywanov <dfcreative@gmail.com>", "LitoMore (https://github.com/LitoMore)" ], "engines": { "node": ">=18" }, "files": [ "color.cjs", "index.d.ts" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/lovell/colour.git" }, "type": "commonjs", "keywords": [ "color", "colour", "cjs", "commonjs" ], "scripts": { "build:cjs": "esbuild node_modules/color/index.js --bundle --platform=node --outfile=color.cjs", "build:dts": "dts-bundle-generator ./dts-src.ts -o index.d.ts --project tsconfig.build.json --external-inlines color --external-inlines color-convert --export-referenced-types=false", "build": "npm run build:cjs && npm run build:dts", "test": "node --test" }, "devDependencies": { "color": "5.0.3", "color-convert": "3.1.3", "color-name": "2.1.0", "color-string": "2.1.4", "dts-bundle-generator": "^9.5.1", "esbuild": "^0.27.3" } }
Save
cmd:
run