@wrote/write
Write a file to the filesystem.
Last updated 6 years ago by zvr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install @wrote/write 
SYNC missed versions from official npm registry.

@wrote/write

npm version

@wrote/write is a package to write a file to the filesystem.

yarn add -E @wrote/write

Table Of Contents

API

The package is available by importing its default function:

import write from '@wrote/write'

async write(
  path: string,
  data?: string|Buffer,
): void

Write data to a file on the filesystem.

import write from '@wrote/write'

const Write = async (path) => {
  await write(path, '> example-data')
  console.log('Written data to %s:', path)
}
Written data to example/temp/example.txt:
> example-data

Copyright

Art Deco © Art Deco for Wrote 2019 Wrote Tech Nation Visa Tech Nation Visa Sucks

Current Tags

  • 1.0.4                                ...           latest (6 years ago)

5 Versions

  • 1.0.4                                ...           6 years ago
  • 1.0.3                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 5
Last Month 0
Dependencies (1)
Dev Dependencies (6)

Copyright 2013 - present © cnpmjs.org | Home |