{"id":15546796,"url":"https://github.com/idleberg/node-wp-salts","last_synced_at":"2025-12-27T16:04:06.846Z","repository":{"id":48012705,"uuid":"176170046","full_name":"idleberg/node-wp-salts","owner":"idleberg","description":"Generates an object of default WordPress salts. Fully offline.","archived":false,"fork":false,"pushed_at":"2024-09-01T21:59:49.000Z","size":920,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-24T16:33:27.359Z","etag":null,"topics":["cryptography","nodejs","wordpress","wordpress-salt"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idleberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-17T22:48:52.000Z","updated_at":"2024-09-01T21:59:52.000Z","dependencies_parsed_at":"2024-10-21T20:21:30.815Z","dependency_job_id":null,"html_url":"https://github.com/idleberg/node-wp-salts","commit_stats":{"total_commits":191,"total_committers":4,"mean_commits":47.75,"dds":"0.18324607329842935","last_synced_commit":"50b1069269e96e70a56abffb8efe3fccebf3be8f"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fnode-wp-salts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fnode-wp-salts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fnode-wp-salts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fnode-wp-salts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idleberg","download_url":"https://codeload.github.com/idleberg/node-wp-salts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242176372,"owners_count":20084569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","nodejs","wordpress","wordpress-salt"],"created_at":"2024-10-02T13:04:48.013Z","updated_at":"2025-12-27T16:04:06.841Z","avatar_url":"https://github.com/idleberg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-salts\n\n\u003e Generates an object of default WordPress salts. Fully offline.\n\n[![License](https://img.shields.io/github/license/idleberg/node-wp-salts?color=blue\u0026style=for-the-badge)](https://github.com/idleberg/node-wp-salts/blob/main/LICENSE)\n[![Version: npm](https://img.shields.io/npm/v/wp-salts?style=for-the-badge)](https://www.npmjs.org/package/wp-salts)\n[![Version: jsr](https://img.shields.io/jsr/v/@idleberg/wordpress-salts?style=for-the-badge)](https://jsr.io/@idleberg/wordpress-salts)\n![GitHub branch check runs](https://img.shields.io/github/check-runs/idleberg/node-wp-salts/main?style=for-the-badge)\n\n\n## Installation\n\n`npm install wp-salts -S`\n\n## Usage\n\n`wpSalts(keys: string | string[], length?: number)`\n\n**Example:**\n\n```js\nimport { wpSalts } from 'wp-salts';\n\n// Standard WordPress salts\nwpSalts();\n\n// Custom salts\nwpSalts('SECURE_AUTH_KEY');\nwpSalts(['AUTH_KEY', 'AUTH_SALT'], 128);\n```\n\n**Note:** The minimum length of each salt is 8-bit (64 characters)\n\n## Related\n\n- [wp-salts-cli](https://www.npmjs.com/package/wp-salts-cli)\n- [vscode-wordpress-salts](https://marketplace.visualstudio.com/items?itemName=idleberg.wordpress-salts)\n\n## License\n\nThis work is licensed under [The MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fnode-wp-salts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidleberg%2Fnode-wp-salts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fnode-wp-salts/lists"}