Skip to content
/ shownfo Public

Small lib to convert .NFO files from CP437 to UTF-8

Notifications You must be signed in to change notification settings

n0rc/shownfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

shownfo

A small (client-side) JavaScript lib to convert NFO files from CP437 to UTF-8

Build:

> npm install
> npm run build

Usage:

Use shownfo-bundle.js in your HTML file:

<script src="shownfo-bundle.js"></script>

This makes function shownfo(url, callback) available that will fetch the NFO file from url, converts its content from CP437 to UTF-8, and provides the result via callback:

var url = 'https://example.com/file.nfo';
shownfo(url, function(nfo) {
    console.log(nfo);
});

About

Small lib to convert .NFO files from CP437 to UTF-8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published