@instructure/file-type-jmp
v0.1.4
Published
JMP detection plugin for file-type
Maintainers
Readme
@instructure/file-type-jmp
JMP detection plugin for file-type.
This plugin detects files from JMP, a statistical discovery and data analysis software suite used for interactive exploratory data analytics, visualization, and statistical modeling.
Install
npm install @instructure/file-type-jmpUsage
import {fileTypeFromFile} from 'file-type';
import {detectJmp} from '@instructure/file-type-jmp';
const fileType = await fileTypeFromFile('sample.jmp', {customDetectors: [detectJmp]});
console.log(fileType);
//=> {ext: 'jmp', mime: 'application/x-jmp-data'}API
detectJmp
Type: Detector
Detector for JMP files.
Development
The detection logic will be implemented once JMP file format specifications are provided, including:
- Magic byte sequences for file identification
- Proper MIME type
- File structure details
License
MIT
