{"id":28350635,"url":"https://github.com/exah/typograf-loader","last_synced_at":"2026-02-09T16:31:21.606Z","repository":{"id":57384142,"uuid":"54878466","full_name":"exah/typograf-loader","owner":"exah","description":"Typograf loader module for Webpack","archived":false,"fork":false,"pushed_at":"2016-03-30T10:38:16.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T01:26:49.263Z","etag":null,"topics":["js","preprocessor","text","typograf","typography","webpack"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-28T08:34:30.000Z","updated_at":"2019-04-01T14:30:50.000Z","dependencies_parsed_at":"2022-09-26T16:50:25.413Z","dependency_job_id":null,"html_url":"https://github.com/exah/typograf-loader","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/exah/typograf-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exah%2Ftypograf-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exah%2Ftypograf-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exah%2Ftypograf-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exah%2Ftypograf-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exah","download_url":"https://codeload.github.com/exah/typograf-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exah%2Ftypograf-loader/sbom","scorecard":{"id":387551,"data":{"date":"2025-08-11","repo":{"name":"github.com/exah/typograf-loader","commit":"0fdf7fe961c39990dad30067c3b4311f1a2c4397"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/9 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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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"}}]},"last_synced_at":"2025-08-18T17:00:28.047Z","repository_id":57384142,"created_at":"2025-08-18T17:00:28.047Z","updated_at":"2025-08-18T17:00:28.047Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29272724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["js","preprocessor","text","typograf","typography","webpack"],"created_at":"2025-05-27T21:13:03.089Z","updated_at":"2026-02-09T16:31:21.588Z","avatar_url":"https://github.com/exah.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typograf-loader\n\nTypograf loader module for webpack. Uses https://github.com/typograf/typograf\n\nIssues with the output should be reported on the typograf [issue tracker](https://github.com/typograf/typograf/issues).\n\n\n## Install\n\n```\n$ npm install --save-dev typograf-loader\n```\n\n\n## Usage\n\n[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)\n\nIn your webpack.config.js, add the typograf-loader, chained with the other loaders.\n\nThis outputs processed html file with file-loader:\n\n```javascript\nloaders: [\n  {\n    test: /ru\\.html$/,\n    loaders: [\n      'file?name=[name].[ext]',\n      'typograf?lang=ru\u0026mode=name'\n    ]\n  }\n]\n```\n\n\nOr to process markdown texts:\n\n```javascript\nloaders: [\n  {\n    test: /ru\\.md$/,\n    loaders: [\n      'html',\n      'typograf?lang=ru\u0026mode=name',\n      'markdown'\n    ]\n  }\n]\n```\n\n\n## Options\n\nFull documentation can be found here: https://github.com/typograf/typograf\n\n[List of rules](https://github.com/typograf/typograf/tree/dev/docs)\n\n\n### lang\n\nSet text language.\n\nType: `string` \u003cbr\u003e\nDefault: `en` \u003cbr\u003e\nOptions: `en` | `ru`\n\n\n### mode\n\nSet output style.\n\nType: `string` \u003cbr\u003e\nDefault: `default` \u003cbr\u003e\nOptions: `default` | `name` | `digit`\n\n- `default`: utf-8 symbols\n- `name`: html special characters with name: `\u0026hellip`\n- `digit`: html special characters in numbers form: `\u0026#8230`\n\n\n### enable\n\nEnables rule.\n\nType: `string` | `[ string, ... ]` \u003cbr\u003e\nDefault: `[]` \u003cbr\u003e\nOptions: `*` | [Rules](https://github.com/typograf/typograf/tree/dev/docs)\n\n### disable\n\nDisables rule.\n\nType: `string` | `[ string, ... ]` \u003cbr\u003e\nDefault: `[]` \u003cbr\u003e\nOptions: `*` | [Rules](https://github.com/typograf/typograf/tree/dev/docs)\n\n\n### Examples\n\nPassing options as query string:\n\n```javascript\n...\nloaders: [\n  {\n    test: /ru\\.html$/,\n    loaders: [\n      'typograf?lang=ru\u0026mode=name\u0026enable[]=ru/optalign/*\u0026disable[]=ru/money/ruble',\n    ]\n  }\n]\n...\n```\n\nPassing options from object as JSON string:\n\n```javascript\n...\nloaders: [\n  {\n    test: /ru\\.html$/,\n    loaders: [\n      'typograf?' + JSON.stringify({\n        lang: 'ru',\n        mode: 'name',\n        enable: [ 'ru/optalign/*' ],\n        disable: [ 'ru/money/ruble' ]\n      }),\n    ]\n  }\n]\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexah%2Ftypograf-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexah%2Ftypograf-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexah%2Ftypograf-loader/lists"}