Files

4 lines
136 B
JavaScript
Raw Permalink Normal View History

2025-08-18 23:06:34 +08:00
const { relative } = require('node:path')
const relpath = (from, to) => relative(from, to).replace(/\\/g, '/')
module.exports = relpath