{"id":19082995,"url":"https://github.com/deep5050/code-conduct","last_synced_at":"2025-11-12T14:30:42.192Z","repository":{"id":57202098,"uuid":"268896767","full_name":"deep5050/code-conduct","owner":"deep5050","description":"NodeJs Module To Export Code-Of-Conduct In 28 Different Languages","archived":false,"fork":false,"pushed_at":"2020-06-05T11:00:25.000Z","size":394,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T01:14:54.658Z","etag":null,"topics":["coc-string","code-of-conduct-template","codeofconduct","community-management","language","opensource","oss","repository"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/code-conduct","language":"JavaScript","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/deep5050.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"paypal.me/deep5050"}},"created_at":"2020-06-02T20:02:45.000Z","updated_at":"2020-06-15T05:41:38.000Z","dependencies_parsed_at":"2022-09-18T09:33:00.865Z","dependency_job_id":null,"html_url":"https://github.com/deep5050/code-conduct","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/deep5050/code-conduct","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2Fcode-conduct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2Fcode-conduct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2Fcode-conduct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2Fcode-conduct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deep5050","download_url":"https://codeload.github.com/deep5050/code-conduct/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2Fcode-conduct/sbom","scorecard":{"id":331816,"data":{"date":"2025-08-11","repo":{"name":"github.com/deep5050/code-conduct","commit":"8ef298edae7965db53f8fb67ce7349b07afcd9e8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/deep5050/code-conduct/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/deep5050/code-conduct/npm-publish.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-6vfc-qv3f-vr6c","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-mxhp-79qh-mcx6","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T03:48:57.004Z","repository_id":57202098,"created_at":"2025-08-18T03:48:57.004Z","updated_at":"2025-08-18T03:48:57.004Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284050629,"owners_count":26939075,"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","status":"online","status_checked_at":"2025-11-12T02:00:06.336Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["coc-string","code-of-conduct-template","codeofconduct","community-management","language","opensource","oss","repository"],"created_at":"2024-11-09T02:45:32.916Z","updated_at":"2025-11-12T14:30:42.174Z","avatar_url":"https://github.com/deep5050.png","language":"JavaScript","readme":"\n\u003cp align=\"center\"\u003e \u003cimg src=\"https://i.imgur.com/YVmCj1H.png\" title=\"CODE-CONDUCT\"  /\u003e\u003c/p\u003e\n\n\n\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\" \u003e\u003ch1 align=\"center\"\u003e CODE-CONDUCT \u003c/h1\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cp align=\"center\"\u003e Exports Code-Of-conduct In \u003cb\u003e28\u003c/b\u003e Different Languages :)\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/deep5050/code-conduct/actions?query=workflow%3Anpm-publish\"\u003e\u003cimg src=\"https://img.shields.io/github/workflow/status/deep5050/code-conduct/npm-publish?label=npm-publish\u0026logo=github\u0026style=for-the-badge\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e \u003ca href=\"https://www.npmjs.com/package/code-conduct\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/code-conduct?color=red\u0026label=INSTALL\u0026logo=npm\u0026style=for-the-badge\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## Supported Languages\n\n1. Bengali\n2. Bosnian\n3. German\n4. Greek\n5. English\n6. Spanish\n7. Farsi (Iran)\n8. French\n9. Hindi\n10. Indonesian\n11. Icelandic\n12. Hebrew\n13. Japanese\n14. Kannada\n15. Korean\n16. FYRO Macedonian\n17. Dutch\n18. Polish\n19. Portuguese (Brazil)\n20. Portuguese\n21. Romanian\n22. Russian\n23. Slovenian\n24. Swedish\n25. Turkish\n26. Ukrainian\n27. Chinese (China)\n28. Chinese (Taiwan)\n\n## Install\n\nRun `npm install code-conduct` Or `yarn add code-conduct` :zap:\n\n## Usage\n\nFor complete Documentation see : [code-conduct](https://deep5050.github.io/code-conduct)\n\n\n```js\nconst coc = require('code-conduct');\n```\n### `lang_id`()\n\n\n```js\nconsole.log(coc.en());\n/* =\u003e\n# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as\ncontributors and maintainers pledge to making participation in our project and\nour community a harassment-free experience for everyone, regardless of age, body\nsize, disability, ethnicity, gender identity and expression, level of experience,\nnationality, personal appearance, race, religion, or sexual identity and\norientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment\ninclude:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members .........\n*/ \n```\n\n### get_coc(lang_id)\n\n```js\nconsole.log(coc.get_coc(\"bn\"));\n/* =\u003e# কনট্রিবিউটরদের আচরনবিধি\n\n## আমাদের অঙ্গীকার\n\n\nগোষ্ঠীর অবাধ এবং স্বাগতপূর্ণ ভাবমূর্তি বজায় রাখার আগ্রহে, \nআমরা কনট্রিবিউটর এবং মেনটেইনার হিসেবে অঙ্গীকার করছি যে, \nএই প্রজেক্ট ও গোষ্ঠীতে যোগদান বয়স, শরীর, অক্ষমতা, জাতি, \nলিঙ্গ পরিচয় ও অভিব্যক্তি, অভিজ্ঞতা, জাতীয়তা, চেহারা, \nবর্ণ, ধর্ম, যৌন পরিচয় ও অভিব্যক্তি নির্বিশেষে সবার জন্য \nএকটি হয়রানি-মুক্ত অভিজ্ঞতা করব।\n\n\n## আমাদের মানদন্ড\n  \nইতিবাচক পরিবেশ তৈরী করতে ব্যবহারের কিছু উদাহরন:\n\n* স্বাগতপূর্ণ ভাষা ব্যবহার\n* বিভিন্ন দৃষ্টিভঙ্গি এবং অভিজ্ঞতার প্রতি সম্মান\n* মার্জিত ভাবে গঠনমূলক সমালোচনা গ্রহণ\n* গোষ্ঠীর উন্নতিকে প্রাধান্য দেওয়া\n* গোষ্ঠীর বাকি সদস্যদের প্রতি সহমর্মিতা দেখানো\n  \n  \nগ্রহণযোগ্য নয়, অংশগ্রহণকারীদের এমন আচরণের উদাহরণ:......\n\n*/\n```\n\n### get_code(lang_name)\n\n\n```js\nconsole.log(coc.get_code(\"English\"));\n// =\u003e en\n```\n### supported_lang()\n\n```js\nconsole.log(coc.supported_langs());\n/* =\u003e\n\n[\n  'bn', 'bs', 'de',    'el',\n  'en', 'es', 'fa_ir', 'fr',\n  'hi', 'id', 'is',    'iw',\n  'ja', 'kn', 'ko',    'mk',\n  'nl', 'pl', 'pt_br', 'pt',\n  'ro', 'ru', 'sl',    'sv',\n  'tr', 'uk', 'zh_cn', 'zh_tw'\n]\n*/\n```\n\n### get_lang(language_id)\n\n```js\nconsole.log(coc.get_lang(\"ko\"));\n//=\u003e Korean\n```\n### all_langs()\n\n\n```js\nconsole.log(coc.all_langs());\n/*=\u003e\n{\n  aa: 'Afar',\n  ab: 'Abkhazian',\n  af: 'Afrikaans',\n  am: 'Amharic',\n  ar: 'Arabic',\n  ar_ae: 'Arabic (U.A.E.)',\n  ar_bh: 'Arabic (Bahrain)',\n  ar_dz: 'Arabic (Algeria)',\n  ar_eg: 'Arabic (Egypt)',\n  ar_iq: 'Arabic (Iraq)',\n  ar_jo: 'Arabic (Jordan)',\n  ar_kw: 'Arabic (Kuwait)',\n  ar_lb: 'Arabic (Lebanon)',\n  ar_ly: 'Arabic (libya)',\n  ar_ma: 'Arabic (Morocco)',\n  ar_om: 'Arabic (Oman)',\n  ar_qa: 'Arabic (Qatar)',\n  ar_sa: 'Arabic (Saudi Arabia)',\n  ar_sy: 'Arabic (Syria)',\n  ar_tn: 'Arabic (Tunisia)',\n  ar_ye: 'Arabic (Yemen)',\n  as: 'Assamese',\n  ay: 'Aymara', ................\n}\n\n\n*/\n```\n## API\n## Modules\n\n\u003cdl\u003e\n\u003cdt\u003e\u003ca href=\"#module_all_langs\"\u003eall_langs\u003c/a\u003e ⇒ \u003ccode\u003eObject\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eA module that returns a list of all languages\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#module_supported_langs\"\u003esupported_langs\u003c/a\u003e ⇒ \u003ccode\u003eArray.\u0026lt;string\u0026gt;\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eA module that exports an array of all languages id supported by code-conduct till now\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#module_get_code\"\u003eget_code\u003c/a\u003e ⇒ \u003ccode\u003estring\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eA module to get language Id of a language\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#module_get_lang\"\u003eget_lang\u003c/a\u003e ⇒ \u003ccode\u003estring\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eA module to get language name from a language ID\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003ca href=\"#module_get_coc\"\u003eget_coc\u003c/a\u003e ⇒ \u003ccode\u003estring\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003e\u003cp\u003eA module to export code-of-conduct text for a language ID\u003c/p\u003e\n\u003c/dd\u003e\n\u003c/dl\u003e\n\n---\n\n\u003ca name=\"module_all_langs\"\u003e\u003c/a\u003e\n\n## all\\_langs ⇒ \u003ccode\u003eObject\u003c/code\u003e\nA module that returns a list of all languages\n\n**Returns**: \u003ccode\u003eObject\u003c/code\u003e - - Object of all language in { id : name } format  \n\u003ca name=\"module_supported_langs\"\u003e\u003c/a\u003e\n\n## supported\\_langs ⇒ \u003ccode\u003eArray.\u0026lt;string\u0026gt;\u003c/code\u003e\nA module that exports an array of all languages id supported by code-conduct till now\n\n**Returns**: \u003ccode\u003eArray.\u0026lt;string\u0026gt;\u003c/code\u003e - - Array of supported language IDs  \n**Author**: Dipankar Pal \u003cdipankarpal5050@gmail.com\u003e  \n\u003ca name=\"module_get_code\"\u003e\u003c/a\u003e\n\n## get\\_code ⇒ \u003ccode\u003estring\u003c/code\u003e\nA module to get language Id of a language\n\n**Returns**: \u003ccode\u003estring\u003c/code\u003e - - Language ID for the given language name  \n**Author**: Dipankar Pal \u003cdipankarpal5050@gmail.com\u003e  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| lang_name | \u003ccode\u003estring\u003c/code\u003e | An exact language name |\n\n\u003ca name=\"module_get_lang\"\u003e\u003c/a\u003e\n\n## get\\_lang ⇒ \u003ccode\u003estring\u003c/code\u003e\nA module to get language name from a language ID\n\n**Returns**: \u003ccode\u003estring\u003c/code\u003e - - Language name for the language_id  \n**Author**: Dipankar Pal \u003cdipankarpal5050@gmail.com\u003e  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| lang_id | \u003ccode\u003estring\u003c/code\u003e | Language ID of a language |\n\n\u003ca name=\"module_get_coc\"\u003e\u003c/a\u003e\n\n## get\\_coc ⇒ \u003ccode\u003estring\u003c/code\u003e\nA module to export code-of-conduct text for a language ID\n\n**Returns**: \u003ccode\u003estring\u003c/code\u003e - - Code-of-conduct for the language  \n**Author**: Dipankar Pal \u003cdipankarpal5050@gmail.com\u003e  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| lang_id | \u003ccode\u003estring\u003c/code\u003e | Language ID of the intended Language |\n\n\n\n## License\nMIT (C) 2020 Dipankar Pal\n\n## Related\n[autobadge](https://github.com/deep5050/autobadge) . [qikstart](https://github.com/deep5050/qikstart) . [qikQR](https://github.com/deep5050/qikQR)\n\n\n## Thanks\n\n\u003cdiv\u003eIcons made by \u003ca href=\"https://www.flaticon.com/authors/photo3idea-studio\" title=\"photo3idea_studio\"\u003ephoto3idea_studio\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\u003c/div\u003e","funding_links":["paypal.me/deep5050"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeep5050%2Fcode-conduct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeep5050%2Fcode-conduct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeep5050%2Fcode-conduct/lists"}