rectangle-overlap

v2.0.0
Computes the area of the intersection of two rectangles.
rectangle overlap area difference geometry intersection

check-workspace

git diff --exit-code >/dev/null && git diff --cached --exit-code >/dev/null

build

rm -rf dist/ && npm run compile && cp LICENSE README.md package.json dist/

compile

tsc --project .

test

npx tslint --project . && npx jest && npx stryker run

prepublishOnly

echo 'Use npm run publish-package' && exit 1

publish-package

npm run check-workspace && npm test && npm run build && git push && git push --tags && npm publish --access=public --ignore-scripts dist
npm i rectangle-overlap

Metadata

Downloads

Maintainers