Debian Codegraph @

debian/control

raw
1 Source: node-istextorbinary
2 Section: javascript
3 Maintainer: Debian Javascript Maintainers <[email protected]>
4 Uploaders: Pirate Praveen <[email protected]>
5 Testsuite: autopkgtest-pkg-nodejs
6 Build-Depends:
7 debhelper-compat (= 13)
8 , dh-sequence-nodejs
9 , node-typescript
10 , node-types-node
11 Standards-Version: 4.7.3
12 Homepage: https://github.com/bevry/istextorbinary
13 Vcs-Git: https://salsa.debian.org/js-team/node-istextorbinary.git
14 Vcs-Browser: https://salsa.debian.org/js-team/node-istextorbinary
15
16 Package: node-istextorbinary
17 Architecture: all
18 Depends:
19 ${misc:Depends}
20 Provides: ${nodejs:Provides}
21 Multi-Arch: foreign
22 Description: Determine if a filename and/or buffer is text or binary
23 This library provides smarter detection than the other solutions.
24 .
25 Determination works like so:
26 1. Extension Check: If filename is available, check if any of its extensions
27 (from right to left) are an text extension or a binary extension, this is
28 near instant.
29 2. Contents Check: If no filename was provided, or the extension check was
30 indeterminate, then check the contents of the buffer.
31 .
32 Node.js is an event-based server-side JavaScript engine.