Socket
Socket
Sign inDemoInstall

broccoli-file-creator

Package Overview
Dependencies
23
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "broccoli-file-creator",
"version": "2.1.0",
"version": "2.1.1",
"description": "Broccoli plugin to create a file.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,5 +10,4 @@ # Broccoli's File Creator

```javascript
var writeFile = require('broccoli-file-creator');
var tree = writeFile('/app/main.js', 'some content goes here');
let writeFile = require('broccoli-file-creator');
let tree = writeFile('/app/main.js', 'some content goes here');
```

@@ -32,3 +31,3 @@

```
```js
writeFile('filename.txt', 'the-content');

@@ -35,0 +34,0 @@ writeFile('filename.txt', Promise.resolve('the-content'));

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