
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
create-cert-files
Advanced tools
Create self signed cert files to be used with webpack-dev-server or browsersync
Create self signed cert files to be used with webpack-dev-server or browsersync
npm install --dev create-cert-files browser-sync
const fakeCert = require('create-cert-files')()
const browserSync = require('browser-sync')
browserSync.init({
https: {
key: fakeCert.key,
cert: fakeCert.cert
}
})
npm install --save-dev create-cert-files
In your webpack.config.js
const fakeCert = require('create-cert-files')(options)
const fs = require('fs')
module.exports = {
devServer: {
https: {
key: fs.readFileSync(fakeCert.key),
cert: fs.readFileSync(fakeCert.cert)
}
}
}
Path of key file
Path of cert file
An array of subjectAltName
[
{
// type 2 is DNS
type: 2,
value: 'localhost'
},
{
// type 7 is IP
type: 7,
ip: '127.0.0.1'
}
]
FAQs
Create self signed cert files to be used with webpack-dev-server or browsersync
The npm package create-cert-files receives a total of 175 weekly downloads. As such, create-cert-files popularity was classified as not popular.
We found that create-cert-files 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.