{"id":13341520,"url":"https://github.com/Lifeni/libsm-js","last_synced_at":"2025-03-11T22:31:03.960Z","repository":{"id":164862282,"uuid":"487016570","full_name":"Lifeni/libsm-js","owner":"Lifeni","description":"A WebAssembly Library of SM2, SM3 and SM4. 国密算法。","archived":true,"fork":false,"pushed_at":"2022-05-02T17:29:28.000Z","size":17,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T10:06:23.377Z","etag":null,"topics":["browser","rust","sm2","sm3","sm4","web-assembly"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lifeni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_APACHE","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":"2022-04-29T15:12:12.000Z","updated_at":"2024-08-31T17:47:59.000Z","dependencies_parsed_at":"2024-06-20T18:28:40.182Z","dependency_job_id":null,"html_url":"https://github.com/Lifeni/libsm-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifeni%2Flibsm-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifeni%2Flibsm-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifeni%2Flibsm-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifeni%2Flibsm-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lifeni","download_url":"https://codeload.github.com/Lifeni/libsm-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243125095,"owners_count":20240263,"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":["browser","rust","sm2","sm3","sm4","web-assembly"],"created_at":"2024-07-29T19:25:28.930Z","updated_at":"2025-03-11T22:31:03.954Z","avatar_url":"https://github.com/Lifeni.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `libsm-js`\n\n[![npm (scoped)](https://img.shields.io/npm/v/@lifeni/libsm-js)](https://www.npmjs.com/package/@lifeni/libsm-js)\n\nA WebAssembly Library of SM2, SM3 and SM4. Based on [`libsm`](https://github.com/citahub/libsm).\n\n## Usage\n\nInstall [`@lifeni/libsm-js`](https://www.npmjs.com/package/@lifeni/libsm-js) in your project.\n\n```sh\nnpm i @lifeni/libsm-js\n# yarn add @lifeni/libsm-js\n# pnpm add @lifeni/libsm-js\n```\n\n## Build \u0026 Publish\n\n```sh\nwasm-pack build --target web --scope lifeni\ncd pkg\nnpm publish --access=public\n```\n\n## Test\n\n```sh\n wasm-pack test --node\n```\n\n## License\n\nThis project is licensed under either of\n\n- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLifeni%2Flibsm-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLifeni%2Flibsm-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLifeni%2Flibsm-js/lists"}