{"id":15293248,"url":"https://github.com/strarsis/sass-math-pow","last_synced_at":"2025-04-13T13:04:18.358Z","repository":{"id":2478987,"uuid":"46642627","full_name":"strarsis/sass-math-pow","owner":"strarsis","description":"Math pow() polyfill/feature detection with non-integer exponents support for (without compass) ruby sass, sass and sass+eyeglass","archived":false,"fork":false,"pushed_at":"2022-04-12T19:38:57.000Z","size":86,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T13:03:57.537Z","etag":null,"topics":["compass","eyeglass","feature-detection","integer-exponents","math","math-pow","polyfill","pow","ruby-sass","sass-eyeglass"],"latest_commit_sha":null,"homepage":null,"language":"SCSS","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/strarsis.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}},"created_at":"2015-11-22T02:07:31.000Z","updated_at":"2022-04-06T21:20:38.000Z","dependencies_parsed_at":"2022-08-06T12:15:28.849Z","dependency_job_id":null,"html_url":"https://github.com/strarsis/sass-math-pow","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strarsis%2Fsass-math-pow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strarsis%2Fsass-math-pow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strarsis%2Fsass-math-pow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strarsis%2Fsass-math-pow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strarsis","download_url":"https://codeload.github.com/strarsis/sass-math-pow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717247,"owners_count":21150389,"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":["compass","eyeglass","feature-detection","integer-exponents","math","math-pow","polyfill","pow","ruby-sass","sass-eyeglass"],"created_at":"2024-09-30T16:45:14.558Z","updated_at":"2025-04-13T13:04:18.340Z","avatar_url":"https://github.com/strarsis.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sass-math-pow\n\n[![david](https://david-dm.org/strarsis/sass-math-pow.svg)](https://david-dm.org/strarsis/sass-math-pow)\n[![Build Status](https://travis-ci.org/strarsis/sass-math-pow.svg?branch=master)](https://travis-ci.org/strarsis/sass-math-pow)\n\nMath pow() polyfill/feature detection with non-integer exponents support \nfor (without compass) ruby sass, plain sass and sass+eyeglass\n\nIt will autodetect whether pow() with native non-integer exponents support is available (by eyeglass+sass with eyeglass-math) for full performance and also tries to intall it (as dependency of this package),\notherwise, in case of ruby sass without compass or plain sass, a pow() polyfill is used instead that supports pow() with non-integer exponents.\n\nThis polyfill is useful for projects that may use pow() with non-integer exponents and should correctly caluclate across different sass variants and versions.\n\n## Usage\n````\n\u003e npm install --save-dev sass-math-pow\n````\nNote: To @import from npm packages/node_modules with ruby sass or plain sass (without eyeglass), \n[sass-include-paths](https://github.com/strarsis/sass-include-paths) helper may be useful.\n````\n@import 'math-pow';\n@debug poly-pow(9, 0.5); // =3 across different sass variants\n````\n\n## Credits\n- [`/` Dart SASS](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md#1330) fix and code improvements by [polarbirke](https://github.com/polarbirke).\n- Performance and code improvements by [xi](https://github.com/xi).\n- Polyfill by [drtimofey](https://github.com/drtimofey), script based on script by [davidkpiano](https://github.com/davidkpiano), see these links\n  - https://github.com/thoughtbot/bitters/issues/167\n  - https://github.com/thoughtbot/bourbon/issues/717\n  - https://gist.github.com/davidkpiano/ad6e6771df050ff3727f\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrarsis%2Fsass-math-pow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrarsis%2Fsass-math-pow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrarsis%2Fsass-math-pow/lists"}