{"id":16604006,"url":"https://github.com/meixg/unchanged-file-sourcemap-generator","last_synced_at":"2026-04-21T02:05:24.168Z","repository":{"id":57385847,"uuid":"123906799","full_name":"meixg/unchanged-file-sourcemap-generator","owner":"meixg","description":"generate sourcemap from an unchanged js file.","archived":false,"fork":false,"pushed_at":"2018-03-25T15:48:56.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T20:44:59.761Z","etag":null,"topics":["sourcemap"],"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/meixg.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":"2018-03-05T10:58:34.000Z","updated_at":"2018-03-25T15:47:00.000Z","dependencies_parsed_at":"2022-09-14T21:03:09.638Z","dependency_job_id":null,"html_url":"https://github.com/meixg/unchanged-file-sourcemap-generator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meixg%2Funchanged-file-sourcemap-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meixg%2Funchanged-file-sourcemap-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meixg%2Funchanged-file-sourcemap-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meixg%2Funchanged-file-sourcemap-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meixg","download_url":"https://codeload.github.com/meixg/unchanged-file-sourcemap-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242729529,"owners_count":20175956,"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":["sourcemap"],"created_at":"2024-10-12T00:54:32.731Z","updated_at":"2026-04-21T02:05:24.142Z","avatar_url":"https://github.com/meixg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unchanged-file-sourcemap-generator\n\ngenerate sourcemap from an unchanged js file.\n\n## why\n\nSometimes we just want to combine some js files into one, and generate a sourcemap. In this situation, some js file may not need to be compiled by babel or some other compiler. Sourcemaps for these files need to be generated on our own.\n\nFortunately, this module can do this for you.\n\n## quick start\n\n```javascript\nconst generate = require('unchanged-file-sourcemap-generator');\n\nconst map = generate(sourceString, {\n    file: 'index.js',\n    sourceRoot: ''\n});\n```\n\n## options\n\noptions are same as [https://github.com/mozilla/source-map#new-sourcemapgeneratorstartofsourcemap](https://github.com/mozilla/source-map#new-sourcemapgeneratorstartofsourcemap).\n\n- file\n\nThe filename of the generated source that this source map is associated with.\n\n- sourceRoot\n\nA root for all relative URLs in this source map.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeixg%2Funchanged-file-sourcemap-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeixg%2Funchanged-file-sourcemap-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeixg%2Funchanged-file-sourcemap-generator/lists"}