wfile 0.1.0 copy "wfile: ^0.1.0" to clipboard
wfile: ^0.1.0 copied to clipboard

A package for convenient work with files and their contents across multiple platforms.

WFile #

The package for convenient work with files and their contents across multiple platforms. Independent of the various system delimiters.

Cover - WFile

Examples #

const sourcePath = 'path/prefix';
final f = WFile(sourcePath);

// get a varios content from files with respect to [sourcePath]
content = f.readAsText('text.txt');
content = f.readAsBytes('bytes.bin');
content = f.readAsImage('images/happy.png'); // -> path/prefix/images/happy.png
content = f.readAsJsonMap('map.json');       // -> { ... }
content = f.readAsJsonList('list.json');     // -> [ ... ]

// in same way we can use [writeAs*] methods

License #

MIT

TODO #

  • All feautures for this package into README.
1
likes
0
pub points
31%
popularity

Publisher

verified publishersyrokomskyi.com

A package for convenient work with files and their contents across multiple platforms.

Repository (GitHub)
View/report issues

Topics

#files #content #loader #filesystem #crossplatform

License

unknown (LICENSE)

Dependencies

image, path, test

More

Packages that depend on wfile