{"library":"babel-project-relative-import","type":"library","category":null,"description":"Babel plugin (v2.0.1) that transforms project-relative import paths (e.g., '~') into file-relative paths during build. Unlike alternatives like babel-root-import that convert to absolute paths, this plugin produces relative output for portability across systems. Tested with babel-cli, webpack, and task runners. Last release appears stable, but the project is in maintenance mode with infrequent updates.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","babel","path","import","relative","project","root","windows"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-project-relative-import","imports":["module.exports = require('babel-project-relative-import');","plugins: [['babel-project-relative-import', { sourceDir: 'src/', importPathPrefix: '~' }]]","import Test from '~/otherdir/example.js';"]},{"cmd":"yarn add babel-project-relative-import","imports":[]},{"cmd":"pnpm add babel-project-relative-import","imports":[]}],"homepage":null,"github":"https://github.com/per2plex/babel-project-relative-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-project-relative-import","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-project-relative-import/compatibility"}}