{"id":26105748,"url":"https://github.com/nxame/nepalpit","last_synced_at":"2025-07-02T10:34:19.310Z","repository":{"id":42813429,"uuid":"268225700","full_name":"nxame/nepalpit","owner":"nxame","description":"Personal Income Tax (PIT) calculator utility for Nepal","archived":false,"fork":false,"pushed_at":"2024-09-12T05:43:23.000Z","size":1862,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T21:53:51.037Z","etag":null,"topics":["calculator","danfebooks","income-tax","nepal","optimum","pit","salary-tax"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nxame.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-31T06:52:30.000Z","updated_at":"2024-09-18T22:46:12.000Z","dependencies_parsed_at":"2024-08-08T01:42:08.582Z","dependency_job_id":null,"html_url":"https://github.com/nxame/nepalpit","commit_stats":null,"previous_names":["nxame/nepalpit"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nxame/nepalpit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxame%2Fnepalpit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxame%2Fnepalpit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxame%2Fnepalpit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxame%2Fnepalpit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxame","download_url":"https://codeload.github.com/nxame/nepalpit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxame%2Fnepalpit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260462537,"owners_count":23013132,"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":["calculator","danfebooks","income-tax","nepal","optimum","pit","salary-tax"],"created_at":"2025-03-09T21:53:53.104Z","updated_at":"2025-06-18T00:34:33.758Z","avatar_url":"https://github.com/nxame.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cabbr title=\"Personal Income Tax\"\u003ePIT\u003c/abbr\u003e Calculator for Nepal\nPersonal Income Tax (PIT) calculator utility for Nepal\n\n[![npm version](https://badge.fury.io/js/@danfebooks%2Fnepalpit.svg)](https://badge.fury.io/js/@danfebooks%2Fnepalpit)\n\n## 🛠 How to use\n\n#### For Browsers\nDownload the zip file and you simply use the script tag to load bundled file.\n```html\n\u003cscript src=\"./danfebooks.pit.js\"\u003e\u003c/script\u003e\n```\nThis script tag will expose a variable called \"`danfebooks`\" to your global space. \n\n#### For nodejs\nInstall the package\n```bash\nyarn add @danfebooks/nepalpit\n```\n\nAnd then, require the package\n\n```js\n// app.js\nvar danfebooks = require('@danfebooks/nepalpit');\n```\n\nPlease check the [example](./example) directory for code samples.\n\n### 📦 Packaged  modules\nThe bundled module is an [UMD](https://github.com/umdjs/umd)  module, and this package can use this in any environments, i.e., browser or nodejs, react\n\n___\n\n## Development\n\nClone the repo and install npm packages\n```\nhttps://github.com/danfebooks/nepalpit.git\ncd nepalpit\nyarn\n```\n\n### Project structure\n* `example` - Example use cases in browser and nodejs\n* `lib` - Compiled javascript bundle\n* `src` - All source code\n* `src\\test` - Test cases\n\n### Start dev server\n\nTo start the webpack build and a simple HTTP server from the example folder.\n```\nyarn start\n```\n\nThe `example` directory is used for the development build for seamless browser testing.\n\nIf you want to test nodejs, run `yarn example:node`, or a simple html usage: `yarn example:browser`\n\nNavigate to http://localhost:3000\n\n___\n## Build\n\nRun\n```\nyarn build\n```\nThe above command will produce a production build inside the `lib` directory to publish on npm. The `lib` directory is also the package's `main` field.\n\n### Publish to npm\nMake sure you have [np package](https://github.com/sindresorhus/np) installed globally Then execute, **`np`** from the root and follow the np guidelines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxame%2Fnepalpit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxame%2Fnepalpit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxame%2Fnepalpit/lists"}