README
for Sketch path
All the nodejs path API is available.
A additional method is available:
path.resourcePath(string)
: which returns the path to a resource in the plugin bundle orundefined
if it doesn't exist.
A drop-in replacement for the path nodejs module
<script type="module">
import skpmPath from 'https://cdn.skypack.dev/@skpm/path';
</script>
for Sketch pathAll the nodejs path API is available.
A additional method is available:
path.resourcePath(string)
: which returns the path to a resource in the plugin bundle or undefined
if it doesn't exist.