[ Bron: node-istextorbinary ]
Pakket: node-istextorbinary (6.0.0+~cs9.33.0-3)
Verwijzigingen voor node-istextorbinary
Debian bronnen:
Het bronpakket node-istextorbinary downloaden:
- [node-istextorbinary_6.0.0+~cs9.33.0-3.dsc]
- [node-istextorbinary_6.0.0+~cs9.33.0.orig-binaryextensions.tar.gz]
- [node-istextorbinary_6.0.0+~cs9.33.0.orig-textextensions.tar.gz]
- [node-istextorbinary_6.0.0+~cs9.33.0.orig.tar.gz]
- [node-istextorbinary_6.0.0+~cs9.33.0-3.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [github.com]
Vergelijkbare pakketten:
Determine if a filename and/or buffer is text or binary
This library provides smarter detection than the other solutions.
Determination works like so:
1. Extension Check: If filename is available, check if any of its extensions (from right to left) are an text extension or a binary extension, this is near instant. 2. Contents Check: If no filename was provided, or the extension check was indeterminate, then check the contents of the buffer.
Node.js is an event-based server-side JavaScript engine.