UNPKG

excel-builder

Version:

An easy way of building Excel files with javascript

31 lines (21 loc) 747 B
--- title: "internalStream(type)" layout: default section: api --- __Description__ : Return a [StreamHelper]({{site.baseurl}}/documentation/api_streamhelper.html) of the content in the asked type. __Arguments__ name | type | description ---------|----------|------------ type | String | the type of the result : `string`, `binarystring`, `uint8array`, `arraybuffer`, `nodebuffer`. __Returns__ : a [StreamHelper]({{site.baseurl}}/documentation/api_streamhelper.html) of the content in the asked type. __Throws__ : Nothing. __Example__ ```js zip .file("my_text.txt") .internalStream("string") .on("data", function (data) {...}) .on("error", function (e) {...}) .on("end", function () {...}); ```