
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
flow-copy-source
Advanced tools
This is a simple script which finds all .js, .jsx, and .mjs files in one or more source directories, and copies them into a destination directory with the .flow suffix appended to the filename.
This is intended to be used as a build step for Flow-typed Javascript projects so that the original typed source files can be placed in the same directory as the transpiled code, so that Flow can use the type definitions in the original source code.
Usage: bin/flow-copy-source.js [-v|--verbose] [-w|--watch] [-i PATTERN]... SRC... DEST
Options:
-v, --verbose Show changes [boolean]
-w, --watch Re-copy files on change [boolean]
-i, --ignore ignore pattern (glob expression)
Multiple --ignore
patterns may be given by using the --ignore
option
multiple times.
This module also exports the flowCopySource(sources, dest, options)
function.
sources
must be an array of strings, dest
must be a string, and options
may optionally be an object with optional verbose
and watch
boolean
properties. The function returns a promise for an array of {src, dest}
objects listing the operations done.
2.0.9 (2019-11-18)
FAQs
Script to copy javascript files and append ".flow" to the filename.
The npm package flow-copy-source receives a total of 10,393 weekly downloads. As such, flow-copy-source popularity was classified as popular.
We found that flow-copy-source demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.