Skip to content

Instantly share code, notes, and snippets.

View leosco's full-sized avatar
🌆
Working

Leo Scordilis leosco

🌆
Working
  • Miami, FL
  • 05:49 (UTC -04:00)
View GitHub Profile
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active February 21, 2025 13:13
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@DarrenN
DarrenN / get-npm-package-version
Last active January 29, 2025 07:49 — forked from yvele/get-npm-package-version.sh
Extract version from package.json (NPM) using bash / shell
# Version key/value should be on his own line
PACKAGE_VERSION=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g')
echo $PACKAGE_VERSION