Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 11 lines (9 sloc) 0.193 kB
#!/usr/bin/env bash
# bin/detect <build-dir>
if [ -f $1/package.json ]; then
echo "Node.js" && exit 0
elif [ -f $1/server.js ]; then
echo "Node.js" && exit 0
else
echo "no" && exit 1
fi
Jump to Line
Something went wrong with that request. Please try again.