{"id":19241056,"url":"https://github.com/binocarlos/componenter","last_synced_at":"2025-10-26T18:34:46.427Z","repository":{"id":18615273,"uuid":"21820803","full_name":"binocarlos/componenter","owner":"binocarlos","description":"Install and build components programatically","archived":false,"fork":false,"pushed_at":"2014-07-15T12:04:12.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T19:04:01.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/binocarlos.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":"2014-07-14T13:39:26.000Z","updated_at":"2014-07-14T13:39:47.000Z","dependencies_parsed_at":"2022-09-26T21:50:54.741Z","dependency_job_id":null,"html_url":"https://github.com/binocarlos/componenter","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/binocarlos%2Fcomponenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fcomponenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fcomponenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fcomponenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binocarlos","download_url":"https://codeload.github.com/binocarlos/componenter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240326665,"owners_count":19783886,"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-09T17:10:07.508Z","updated_at":"2025-10-26T18:34:41.401Z","avatar_url":"https://github.com/binocarlos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"componenter\n===========\n\nInstall and build components programatically\n\n## install\n\n```\n$ npm install componenter\n```\n\n## usage\n\nComponenter will install and build components for you in one hit\n\n```js\nvar Componenter = require('componenter')\nvar project = Componenter('/my/project')\n\n// this will remove existing components/build folder for a fresh install\nproject(true, function(err){\n\n\t// /my/project/components and /my/project/build now exists\n})\n```\n\nYou can use the 'install' and 'build' functions seperately:\n\n```js\n// this will not remove the old components folder\nproject.install(function(err){\n\n\t// this will remove the old build folder\n\tproject.build(true, function(err){\n\n\t})\n})\n```\n\n## api\n\n#### `var project = Componenter(folderPath)`\n\nCreate a new project by passing a folder path and the folder contains a component.json\n\n#### `project(autoRemove)`\n\nRun project.install then project.build - autoRemove will delete folders before each step\n\n#### `project.install(autoRemove)`\n\nRun `component install` in the project folder - autoRemove will remove the components folder and result in a fresh install (i.e. pulling the latest components from github)\n\n#### `project.build(autoRemove)`\n\nRun `component build` in the project folder - autoRemove will remove the build folder\n\n## licence\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinocarlos%2Fcomponenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinocarlos%2Fcomponenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinocarlos%2Fcomponenter/lists"}