is-rtf

Check if a Buffer/Uint8Array is a RTF file

MIT 1 个版本
安装
npm install is-rtf
yarn add is-rtf
pnpm add is-rtf
bun add is-rtf
README

is-rtf Build Status

Check if a Buffer/Uint8Array is a RTF file

Install

$ npm install --save is-rtf

Usage

var isRtf = require('is-rtf');
var read = require('fs').readFileSync;

isRtf(read('test.rtf'));
// => true

License

MIT License © Valentin Dubois

版本列表
1.0.0 2014-11-10