
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
1password-js
Advanced tools
1password.js
is a library to process 1password Vaults.
You can install via npm:
> npm install 1password-js
1password.js
exposes a class that is instantiated with the vault master password and optionally, the profile name, and can be searched with the search
method:
const Vault = require('1password-js');
// Somehow we get the master password...
const vault = new Vault(masterPassword);
// Or, supplying a profile name:
const vault = new Vault(masterPassword, 'my-special-profile');
// Searching in the Vault
// `.search` return a Promise that will resolve to the item detail(s)
// or reject
vault.search('Github').then(items => {
// The search may have multiple entries
const password = items[0].itemDetail.fields.find(field => field.designation === 'password').value;
}).catch(() => {
// There wasn't anything found with that title
})
This only currently works on Mac. If you have the location of the vault sqlite database on other systems, create an issue and I'll add it!
MIT
FAQs
1Password Vault Handling in Javascript
The npm package 1password-js receives a total of 3 weekly downloads. As such, 1password-js popularity was classified as not popular.
We found that 1password-js 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
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
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.