projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website]
/
node_modules
/
is-png
/
index.js
1
'use strict';
2
module.exports = function (buf) {
3
if (!buf || buf.length < 4) {
4
return false;
5
}
6
7
return buf[0] === 137 &&
8
buf[1] === 80 &&
9
buf[2] === 78 &&
10
buf[3] === 71;
11
};