@sideway/pinpoint

Return the filename and line number of the calling function

Usage no npm install needed!

<script type="module">
  import sidewayPinpoint from 'https://cdn.skypack.dev/@sideway/pinpoint';
</script>

README

@sideway/pinpoint

Return the filename and line number of the calling function.

pinpoint is part of the joi ecosystem.

Visit the joi.dev Developer Portal for tutorials, documentation, and support

Useful resources