Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@chayns/react-audio-editor
Advanced tools
Readme
This audio editor allows the user to choose, edit and confirm an audio file.
Features:
To use the audio editor, you also have to use the chayns JS API and chayns CSS API. To getting started with the chayns APIs, follow this guide.
You have to install this package with npm i -S @chayns/react-audio-editor
.
At first time the component needs to be imported:
import AudioEditor from '@chayns/react-audio-editor';
After this, you can than use the AudioEditor
in your react component like in the following example:
<AudioEditor onConfirm={console.log} onClear={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 |
onConfirm | Function which will be called after user has saved the audio file. | function | FileSaver.saveAs |
onClear | Function which will be called when user clicks on the delete Icon. | function | console.log |
npm i
npm start
npm link chayns-audio-editor
Check your code style with npm run eslint
before publishing.
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 2 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.