Skip to content

Military Symbol Server, a minimal web server that delivers military symbols as images

License

Notifications You must be signed in to change notification settings

syncpoint/milsymbol-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Milsymbol in Node.js

milsymbol-server

This is an example of how you can create a minimal military symbol server using Node.js and milsymbol.

It supports output of military symbols as SVG and as PNG, you can use all options available for milsymbol to add modifiers for your symbols as well.

Installation:

npm install milsymbol-server

To start the server, navigate to this folder in a terminal and run:

node index.js

The symbols are named SIDC.FILETYPE, and you can access them using:

http://${hostname}:${port}/SFG-UCI---.png or

http://${hostname}:${port}/SFG-UCI---.svg

You can add any milsymbol options to the query string

SFG-UCI---.png?uniqueDesignation=BA01&square=true

About

Military Symbol Server, a minimal web server that delivers military symbols as images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%