https://github.com/matmill5/mismo
Utilities for working with Mortgage Industry Standards Maintenance Organization (MISMO) files
https://github.com/matmill5/mismo
Last synced: about 2 months ago
JSON representation
Utilities for working with Mortgage Industry Standards Maintenance Organization (MISMO) files
- Host: GitHub
- URL: https://github.com/matmill5/mismo
- Owner: matmill5
- License: agpl-3.0
- Created: 2025-01-10T00:21:14.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-26T01:55:09.000Z (3 months ago)
- Last Synced: 2025-02-26T02:35:43.763Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 837 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MISMO
Utilities for working with Mortgage Industry Standards Maintenance Organization (MISMO) XML files.
## Installation
pnpm add @morfi-technologies/mismo
## Usage - MISMO Validation
```ts
import { validateMISMO } from '@morfi-technologies/mismo';const result = validateMISMO({
mismo: fs.readFileSync("your-mismo-file.xml"), // File Buffer or String
options: {
version: '3.4' // MISMO Version
}
});
```
## Usage - NextJSTo use with NextJS, you'll need to configure the next.config.js file as follows
```
const nextConfig = {
serverExternalPackages: ['libxmljs', 'path', 'fs', 'url'], // external dependencies,
...config
}```