Socket
Socket
Sign inDemoInstall

@microsoft/arbutus.file-to-string

Package Overview
Dependencies
0
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @microsoft/arbutus.file-to-string

File To String takes a path to a file and generates a new file that exports it as a string. This utility is useful for documenting code examples that you might want to show the source code for. There are options for output in JavaScript and TypeScript.


Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
2
Install size
7.08 kB
Created
Weekly downloads
 

Readme

Source

Utility: File To String

File to string takes a path to a file and generates a new file that exports it as a string this utility is useful for documenting code examples that you might want to show the source code for there are options for output in java script and type script.

Get Started

npm i "@microsoft/arbutus.file-to-string"
import { fileToString } from '@microsoft/arbutus.file-to-string';

FAQs

Last updated on 29 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc