{"id":20119807,"url":"https://github.com/gruntjs/grunt-lib-contrib","last_synced_at":"2025-05-06T14:32:49.759Z","repository":{"id":4536393,"uuid":"5676742","full_name":"gruntjs/grunt-lib-contrib","owner":"gruntjs","description":"Common functionality shared across grunt-contrib tasks.","archived":false,"fork":false,"pushed_at":"2021-03-22T14:49:56.000Z","size":42,"stargazers_count":12,"open_issues_count":0,"forks_count":12,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-09T13:47:54.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://gruntjs.com/","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/gruntjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-04T18:34:38.000Z","updated_at":"2023-10-12T23:47:53.000Z","dependencies_parsed_at":"2022-09-18T20:52:01.505Z","dependency_job_id":null,"html_url":"https://github.com/gruntjs/grunt-lib-contrib","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gruntjs%2Fgrunt-lib-contrib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gruntjs%2Fgrunt-lib-contrib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gruntjs%2Fgrunt-lib-contrib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gruntjs%2Fgrunt-lib-contrib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gruntjs","download_url":"https://codeload.github.com/gruntjs/grunt-lib-contrib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252703464,"owners_count":21790890,"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":[],"created_at":"2024-11-13T19:17:14.946Z","updated_at":"2025-05-06T14:32:49.457Z","avatar_url":"https://github.com/gruntjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-lib-contrib [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-lib-contrib.png?branch=master)](http://travis-ci.org/gruntjs/grunt-lib-contrib)\n\n**DEPRECATED - DO NOT USE**\n\n\u003e Common functionality shared across grunt-contrib tasks.\n\n### Helper Functions\n\n#### stripPath(path, stripPath)\n\n**Deprecated. Use [strip-path](https://github.com/sindresorhus/strip-path) instead.**\n\nStrip a path from a path. Normalize both paths for best results.\n\n#### minMaxInfo(min, max, report)\n\n**Deprecated. Use [maxmin](https://github.com/sindresorhus/maxmin) instead.**\n\nHelper for logging compressed, uncompressed and gzipped sizes of strings.\n\n##### report\nChoices: `false`, `'min'`, `'gzip'`\nDefault: `false`\n\nEither do not report anything, report only minification result, or report minification and gzip results.\n\n**Important** Including `'gzip'` results can make this task 5-10x slower depending on the size of the file.\n\n\n```js\nvar max = grunt.file.read('max.js');\nvar min = minify(max);\nminMaxInfo(min, max, 'gzip');\n```\n\nWould print:\n\n```\nOriginal: 495 bytes.\nMinified: 396 bytes.\nGzipped: 36 bytes.\n```\n\n#### getNamespaceDeclaration(ns)\n\n**Deprecated. Use [nsdeclare](https://www.npmjs.org/package/nsdeclare) instead.**\n\nThis helper is used to build JS namespace declarations.\n\n--\n\n*Lib submitted by [Tyler Kellen](https://goingslowly.com/).*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgruntjs%2Fgrunt-lib-contrib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgruntjs%2Fgrunt-lib-contrib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgruntjs%2Fgrunt-lib-contrib/lists"}