{"id":28952439,"url":"https://github.com/neptune-mutual/flatsol","last_synced_at":"2025-06-23T17:02:08.826Z","repository":{"id":57238051,"uuid":"369465454","full_name":"neptune-mutual/flatsol","owner":"neptune-mutual","description":"This is a zero-dependency and lightweight Solidity flattener. This tool combines any given Solidity file's dependency and prints out the value in the shell.","archived":false,"fork":false,"pushed_at":"2022-01-04T07:46:00.000Z","size":10,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T22:34:51.632Z","etag":null,"topics":["flatten","flattener","smart-contracts","solidity","truffle"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neptune-mutual.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-21T08:21:40.000Z","updated_at":"2022-06-14T21:59:27.000Z","dependencies_parsed_at":"2022-08-26T14:04:22.705Z","dependency_job_id":null,"html_url":"https://github.com/neptune-mutual/flatsol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neptune-mutual/flatsol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neptune-mutual%2Fflatsol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neptune-mutual%2Fflatsol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neptune-mutual%2Fflatsol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neptune-mutual%2Fflatsol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neptune-mutual","download_url":"https://codeload.github.com/neptune-mutual/flatsol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neptune-mutual%2Fflatsol/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261518122,"owners_count":23171108,"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":["flatten","flattener","smart-contracts","solidity","truffle"],"created_at":"2025-06-23T17:01:13.442Z","updated_at":"2025-06-23T17:02:08.700Z","avatar_url":"https://github.com/neptune-mutual.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flatsol\n\nThis is a zero-dependency and lightweight Solidity flattener. This tool combines any given Solidity file's dependency and prints out the value in the shell.\n\n## Installation\n\n```\nnpm install -g flatsol\n```\n\n## Usage\n\nCompatible with truffle-flattener\n\nJust intall it with npm in your truffle project and run \n\n```\nflatsol ./contracts/Token.sol \u003e ./contracts/.Token.flat.sol\n```\n\n## Limitations\n\nAliased imports (eg: import {symbol1 as alias, symbol2} from \"filename\";) are not supported by flatsol.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneptune-mutual%2Fflatsol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneptune-mutual%2Fflatsol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneptune-mutual%2Fflatsol/lists"}