
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
Sync package.json with bower.json.
Install with npm:
$ npm install --save sync-bower
Install with yarn:
$ yarn add sync-bower
var fs = require('fs');
var sync = require('sync-bower');
var pkg = require('./package.json');
var bower = require('./bower.json');
var updatedBower = sync(pkg, bower);
fs.writeFile('bower.json', updatedBower, function(err) {
if (err) console.log(err);
});
Run sync-bower in the command line to update bower.json.
$ sync-bower
bower.json exists, it will be updated with values in package.json.bower.json does not exist, you will be asked if you want to create one.Create a bower.json file and/or update the existing bower.json without prompting you for feedback.
$ sync-bower bower
See a visual diff of proposed changes between package.json and bower.json. Does not modify any files.
$ sync-bower diff
Example output
The following fields from package.json are used:
name: requireddescription: recommendedlicense: recommendedmain: recommendedignore: recommendedkeywords: recommendedThese fields are also included, but are considered optional by bower:
repositoryhomepageauthorsdependenciesdevDependenciesPull requests or feature requests are welcome!
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
| Commits | Contributor |
|---|---|
| 6 | jonschlinkert |
| 1 | doowb |
| 1 | raphinesse |
(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)
To generate the readme, run the following command:
$ npm install -g verbose/verb#dev verb-generate-readme && verb
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm install && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the MIT License.
This file was generated by verb-generate-readme, v0.6.0, on May 14, 2017.
FAQs
Sync package.json with bower.json.
We found that sync-bower demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.