Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@chayns/react-audio-editor
Advanced tools
The chayns-audio-editor allows the user to choose, edit and save an audio file.
You have to install this package with npm i -S chayns-audio-editor
.
After this, you can than use the AudioEditor
in your react component like in the following example:
import AudioEditor from 'chayns-audio-editor';
<Social
<AudioEditor onRemove={console.log} onSave={console.log}/>
/>
The following properties can be set on the AudioEditor
component:
Property | Description | Type | Default |
---|---|---|---|
file | Initial chosen file. If not set, user has the possibility to choose a file. | File | null |
onSave | Function which will be called after user has saved the audio file. | function | FileSaver.saveAs |
onRemove | Function which will be called when user clicks on the delete Icon. | function | console.log |
The chayns-audio-editor has been developed with Google Chrome. For this, all features are working and there are no known issues.
Browser | Max playback rate | Known issues |
---|---|---|
Chrome 72 | 16x | - |
Firefox 65 | 4x | - |
Safari 12 | 1x | You don't hear anything. The spectrum can't be shown because it's not allowed to start an audio player without a click. |
Edge 17 | 1x | Downloaded Files have no name |
IE 11 | - | IE don't supports the web audio API. You can only choose a mp3 file. |
Chrome Mobile 72 | 16x | The exported File has a bad quality. |
Firefox Mobile 65 | 4x | The storage process does not end. |
Safari Mobile | 1x | On iOS, you are not able to choose an audio file. |
The maximum playback rate is used to generate the spectrum.
npm i
npm start
npm link chayns-audio-editor
npm version patch
to increase patch versionnpm version minor
to increase minor versionnpm version major
to increase major versionnpm publish
Note:
npm version [...]
adds a git commit and a git tag
FAQs
Tool to edit audio tracks.
The npm package @chayns/react-audio-editor receives a total of 3 weekly downloads. As such, @chayns/react-audio-editor popularity was classified as not popular.
We found that @chayns/react-audio-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.