
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
webkit-normalize
Advanced tools
A lightweight library to normalize WebKit-specific implementations to standard APIs.
A lightweight library to normalize WebKit-specific implementations to their standard equivalents. This ensures cross-browser compatibility by fixing inconsistencies in older or non-standard browsers that rely on WebKit prefixes.
Normalizes webkitURL to URL if the standard URL API is missing.
Normalizes webkitAudioContext to AudioContext if the standard AudioContext API is missing.
Normalizes webkitSpeechRecognition to SpeechRecognition if the standard SpeechRecognition API is missing.
Normalizes webkitGetUserMedia to getUserMedia if the standard getUserMedia API is missing.
Normalizes webkitRequestAnimationFrame to requestAnimationFrame if the standard requestAnimationFrame API is missing.
Normalizes webkitTransitionEnd to transitionend for handling CSS transition events.
Normalizes webkitDevicePixelRatio to devicePixelRatio if the standard devicePixelRatio API is missing.
Normalizes webkitTransform to transform for CSS transformations.
Normalizes webkitBackfaceVisibility to backfaceVisibility for CSS backface visibility.
Normalizes webkitRequestFullscreen to requestFullscreen for entering fullscreen mode.
Normalizes webkitDatabase to openDatabase for Web SQL Database support (deprecated).
Normalizes webkitWillChange to will-change for CSS will-change property.
Normalizes webkitRequestFileSystem to requestFileSystem for the File System API.
Use the normal version for development:
<script src="https://cdn.jsdelivr.net/npm/webkit-normalize@1.0.0/webkit-normalize.js"></script>
Use the minified version for production:
<script src="https://cdn.jsdelivr.net/npm/webkit-normalize@1.0.0/webkit-normalize.min.js"></script>
Install the library:
npm install webkit-normalize
Then import it in your project:
import 'webkit-normalize';
// After including the library, you can use standard APIs without worrying about WebKit prefixes.
const audioContext = new AudioContext(); // Works even if only webkitAudioContext is available.
const url = new URL('https://example.com'); // Works even if only webkitURL is available.
Contributions are welcome! If you find any issues or want to add new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
If you find this library useful, consider giving it a ⭐️ on GitHub.
FAQs
A lightweight library to normalize WebKit-specific implementations to standard APIs.
We found that webkit-normalize demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.