Skip to main content

fileSystemPlugin.writeFile()

BFChainPluginfileSystemPluginwriteFileLess than 1 minute

Write content.

import { fileSystemPlugin } from "@plaoc/plugins";
fileSystemPlugin.writeFile(options)

Parameters

Returns

A Promise that resolves to a WriteFileResult object.

Example

import { fileSystemPlugin } from "@plaoc/plugins";

const path = "xxx";
const data = "content";

fileSystemPlugin.writeFile({
  path, 
  data
});

Platform Compatibility

Property/Method/EventAndroidiOSDesktop-DevDesktop
writeFileX

See Also

FileSystemPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7