1.1.0 • Published 8 months ago

@stenway/reliabletxt-browser v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

ReliableTXT-Browser

About this package

This package is the browser-specific part mentioned in the environment-independent reliabletxt package (You will find more information there about ReliableTXT in general). The package currently just contains a simple helper class to easily create a downloadable file.

Getting started

First get the ReliableTXT-Browser package installed with a package manager of your choice. If you are using NPM just run the following command:

npm install @stenway/reliabletxt-browser

Create a ReliableTXTDocument and pass it to the static method download of the static ReliableTxtDownload class. Provide a file name as a second argument:

ReliableTxtDownload.download(new ReliableTxtDocument("Hello world"), "HelloWorld.txt")

You can see a similar package, which is the wsv-browser package, in action in this video.

Related packages

The Stenway Text File Format Stack defines a set of formats that are built upon ReliableTXT. Check out the following related browser-packages:

1.1.0

8 months ago

1.0.0

8 months ago

0.8.0

9 months ago

0.7.0

9 months ago

0.6.0

12 months ago

0.5.0

1 year ago

0.1.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.4.0

1 year ago

0.0.1

2 years ago