# dirname-shim

> UMD __dirname and __filename browser shim

Latest version **1.0.0** (published 2016-10-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install dirname-shim
pnpm add dirname-shim
yarn add dirname-shim
bun add dirname-shim
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-10-13 |
| First published | 2014-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Abbey Hawk Sparrow |
| Maintainers | khrome |
| Keywords | dirname, browser, stacktrace, UMD, webpack |

## Links

- npm: https://www.npmjs.com/package/dirname-shim
- Repository: https://github.com/khrome/dirname-shim
- Issues: https://github.com/khrome/dirname-shim/issues
- npm.io page: https://npm.io/package/dirname-shim

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-10-13
- 0.0.1-alpha — 2014-07-22

## README

dirname-shim.js
===============
you want `__dirname` and `__filname` in the browser, plus structured stacktraces(`__stacktrace`). Now you have em. Works in webpack or UMD.

Testing
-------
The Mocha is still brewing...

Enjoy,

-Abbey Hawk Sparrow

---
_Source: https://npm.io/package/dirname-shim · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
