1.4.2 • Published 3 years ago

@docere/xml-file-server v1.4.2

Weekly downloads
1
License
GPL-3.0-or-later
Repository
-
Last release
3 years ago

Docere XML file server

Opionated file server which serves the directory structure per level and XML files only.

Example output

$ curl localhost:3003/xml/<some-dir>

{
	"directories": ["/<some-dir>/subdir1", "/<some-dir>/subdir2"],
	"files": ["/<some-dir>/file1.xml", "/<some-dir>/file2.xml"]
}

To get the structure of /<some-dir>/subdir1 a new request should be send.

Development

$ npm run watch

Run local instance (for dev or testing)

$ DOCERE_XML_BASE_PATH=/some/custom/dir npx .

Env variable

DOCERE_XML_BASE_PATH defaults to /data/xml

1.4.2

3 years ago

1.4.1

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago