[TIMOB-18583] TiAPI: Create Node-compatible filesystem module API
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-10-15T14:37:01.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 8.3.0 |
| Components | TiAPI |
| Labels | n/a |
| Reporter | Christopher Williams |
| Assignee | Christopher Williams |
| Created | 2015-02-17T22:51:06.000+0000 |
| Updated | 2019-10-30T14:56:30.000+0000 |
Description
It'd be useful to create equivalents of some of the core Node modules in Titanium so that users could port/re-use node codebases on mobile devices. Some of the more common modules could map relatively easily to devices, and would be worth investigating.
http://nodejs.org/api/fs.html
Note that Tony Luksavage tried to do this in pure JS here: https://github.com/tonylukasavage/ti-fs
Merged to master. Includes a comprehensive test suite.
Closing ticket. Code changes present in SDK version
8.3.0.v20191028152746Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/10998