JSPM

Found 3975 results for import path

resolve-from

Resolve the path of a module like `require.resolve()` but from a given path

  • v5.0.0
  • 441.14
  • Published

resolve-cwd

Resolve the path of a module like `require.resolve()` but from the current working directory

  • v3.0.0
  • 320.67
  • Published

import-from

Import a module like with `require()` but from a given path

  • v4.0.0
  • 308.69
  • Published

import-from-esm

Import a module like with require() but from a given path (for ESM)

  • v2.0.0
  • 263.37
  • Published

typescript-transform-paths

Transforms module resolution paths using TypeScript path mapping and/or custom paths

  • v3.5.5
  • 235.46
  • Published

postcss-import-ext-glob

A PostCSS plugin to extend postcss-import path resolver to allow glob usage as path

  • v2.1.1
  • 221.84
  • Published

webpack-require-from

Webpack plugin that allows to configure path or URL for fetching dynamic imports

  • v1.8.6
  • 190.89
  • Published

sass-extended-importer

A Custom Sass Import Resolver with included support for Node Module Resolution, additional file extensions, and path aliases/path mapping

  • v1.0.1
  • 171.31
  • Published

deep-resolve-from

Resolve the path of a module through a sequence of packages

  • v1.1.0
  • 141.49
  • Published

filedirname

Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)

  • v3.4.0
  • 138.71
  • Published

resolve-importing-path

Resolves an import path to a filesystem path handling TypeScript, missing extensions and directory imports.

  • v1.0.4
  • 130.13
  • Published

@aem-vite/import-rewriter

Dynamic imports transformer and CSS path rewriter for Vite when using Adobe Experience Manager

  • v9.1.2
  • 126.33
  • Published

get-root-path

Get the closest parent folder containing a package.json file

  • v3.0.1
  • 121.45
  • Published

es-module-devserver

Simple static server middleware with ES Module path resolution

  • v0.1.6
  • 100.90
  • Published

@purinton/path

An ESM/Jest friendly path utility.

  • v1.0.14
  • 98.08
  • Published

@joneff/sass-import-resolver

Resolves the path of sass imports, following a heavily opinionated and probably very shady algorithm

  • v1.0.0
  • 97.89
  • Published

import-cwd

Import a module like with `require()` but from the current working directory

  • v3.0.0
  • 96.48
  • Published

abrequire

abrequire is absolute path require

  • v0.0.4
  • 94.68
  • Published

import-lazy

Import a module lazily

  • v4.0.0
  • 89.06
  • Published

require-all-root

Require all files from app's root path (require-all + app-root-path)

  • v1.0.1
  • 84.90
  • Published

esm

Tomorrow's ECMAScript modules today!

  • v3.2.25
  • 83.53
  • Published

postcss-import

PostCSS plugin to import CSS files

  • v16.1.1
  • 83.48
  • Published

requireg

Require and resolve global modules like a boss

  • v0.2.2
  • 81.35
  • Published

@crabas0npm/vitae-alias-blanditiis

* Convert an absolute path to a tilde path: `/Users/YourUserName/dev` → `~/dev` * Inspired by [tilify](https://github.com/sindresorhus/tildify) by [Sindre Sorhus](https://github.com/sindresorhus) * Since tildify uses ES6 syntax, I created this package to

  • v1.0.0
  • 78.89
  • Published

@zibuthe7j11/quia-sunt-neque

* Convert an absolute path to a tilde path: `/Users/YourUserName/dev` → `~/dev` * Inspired by [tilify](https://github.com/sindresorhus/tildify) by [Sindre Sorhus](https://github.com/sindresorhus) * Since tildify uses ES6 syntax, I created this package to

  • v1.0.0
  • 78.05
  • Published

eslint-import-resolver-alias

a simple Node behavior import resolution plugin for eslint-plugin-import, supporting module alias.

  • v1.1.2
  • 77.55
  • Published

sass-lookup

Get the file associated with a Sass import

  • v6.1.0
  • 76.26
  • Published

eslint-plugin-n

Additional ESLint's rules for Node.js

  • v17.21.3
  • 76.09
  • Published

@ryniaubenpm2/odit-eligendi-eos

* Convert an absolute path to a tilde path: `/Users/YourUserName/dev` → `~/dev` * Inspired by [tilify](https://github.com/sindresorhus/tildify) by [Sindre Sorhus](https://github.com/sindresorhus) * Since tildify uses ES6 syntax, I created this package to

  • v1.0.0
  • 73.90
  • Published

import-local

Let a globally installed package use a locally installed version of itself if available

  • v3.2.0
  • 70.59
  • Published

css-loader

css loader module for webpack

  • v7.1.2
  • 68.45
  • Published

import-global

Import a globally installed module

  • v1.1.1
  • 67.40
  • Published

babel-plugin-transform-imports

Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')

  • v2.0.0
  • 65.57
  • Published

bidirectional-resolve

Resolve a package entry point to a file path (like require.resolve/import.meta.resolve) OR a file path to a package entry point

  • v2.0.2
  • 64.11
  • Published

acorn-import-phases

Support for `import <defer|source>` phase syntax in Acorn

  • v1.0.4
  • 64.05
  • Published

clear-module

Clear a module from the cache

  • v4.1.2
  • 64.04
  • Published

mdast-util-mdxjs-esm

mdast extension to parse and serialize MDX.js ESM (import/exports)

  • v2.0.1
  • 63.52
  • Published

trace-deps

A dependency tracing tool.

  • v0.5.2
  • 63.07
  • Published

import-modules

Import all modules in a directory

  • v3.2.0
  • 62.43
  • Published

import

Concatenate files together using import statements.

  • v0.0.6
  • 61.60
  • Published

detective-es6

Get the dependencies of an ES6 module

  • v5.0.1
  • 60.75
  • Published

@improved/node

Quickly import from core node modules

  • v1.1.1
  • 60.73
  • Published

import-path

This package will allow users to require your package without writing dist/src

  • v1.0.15
  • 60.52
  • Published

import-locals

Allows you to import local variables, functions and classes from other modules

  • v2.0.0
  • 59.69
  • Published

seed-publish

Mixins that manage rendered CSS from modular importing

  • v0.2.0
  • 59.09
  • Published

parse-import

Parse CSS @import statements

  • v2.0.0
  • 58.54
  • Published

detective-vue2

Get the dependencies of a Vue module

  • v2.2.0
  • 58.41
  • Published

esbuild-rails

Esbuild plugin for Rails applications

  • v1.0.7
  • 57.95
  • Published

get-imports

Get CSS @imports from a string

  • v1.0.0
  • 57.95
  • Published

babel-plugin-detective

Babel 5/6 plugin that scans the AST for require calls and import statements

  • v2.0.0
  • 57.90
  • Published

import-regex

Regular expression for matching CSS @imports

  • v1.1.0
  • 57.88
  • Published

create-index

Creates ES6 ./index.js file in target directories that imports and exports all sibling files and directories.

  • v2.6.0
  • 57.11
  • Published

parse-imports-exports

Fast and easy parser for declarations of import and export in ECMAScript/TypeScript

  • v0.2.4
  • 56.97
  • Published

rework-import

A rework plugin to read and inline CSS files via @import

  • v2.1.0
  • 56.56
  • Published

gulp-concat-css

Concatenate css files, rebasing urls and inlining @import

  • v3.1.0
  • 56.43
  • Published

zoroaster

The 2020 Most Modern Testing Framework For Node.JS With Test Contexts (Reusable BeforeEach / AfterEach Via Separate Files); Masks (Inputs/Outputs In Non-Js Files) And Fork Testing; Interactive Snapshots.

  • v4.4.0
  • 56.30
  • Published

reify

Enable ECMAScript 2015 modules in Node today. No caveats. Full stop.

  • v0.20.12
  • 53.45
  • Published

ngimport

Easy to use ES6 imports for $http, $log, and other Angular 1 services

  • v1.0.0
  • 52.89
  • Published

desm

get the file directory from import.meta.url

  • v1.3.1
  • 52.87
  • Published

dimport

Run ES Module syntax in any browser – even IE!

  • v1.0.0
  • 52.35
  • Published

postcss-easy-import

PostCSS plugin to inline @import rules content with extra features

  • v4.0.0
  • 52.03
  • Published

require-esm-in-cjs

Enable `require( ESM / EcmaScript Module )` in CommonJS / CJS modules.

  • v0.1.0
  • 51.62
  • Published

gatsby-plugin-provide-react

Provides to all of your component React instances, you don't need to import React anymore.

  • v1.0.2
  • 51.57
  • Published

webpack-glsl-loader

A webpack loader for glsl shaders - includes support for nested imports.

  • v1.0.1
  • 50.64
  • Published

basetag

A better way to import NodeJS modules

  • v2.1.0
  • 50.49
  • Published

esmock

provides native ESM import and globals mocking for unit tests

  • v2.7.1
  • 50.27
  • Published

@sanity/import

Import documents to a Sanity dataset

  • v3.38.3
  • 50.15
  • Published

babel-plugin-file-loader

Like file-loader for webpack, but for Babel. Works with SSE apps.

  • v2.0.0
  • 49.94
  • Published

current-module-paths

Access to __filename and __dirname within ECMAScript modules

  • v1.1.2
  • 49.79
  • Published

eslint-plugin-no-barrel-files

ESLint plugin to disallow [barrel files](https://github.com/basarat/typescript-book/blob/master/docs/tips/barrel.md).

  • v1.2.2
  • 49.77
  • Published

has-dynamic-import

Does the current environment have `import()` support?

  • v2.1.1
  • 49.13
  • Published

load-module

Standard dynamic imports with a few extra features

  • v5.0.0
  • 48.97
  • Published

moddle

A library for importing meta-model based file formats into JS

  • v7.2.0
  • 48.73
  • Published

fly-import

Install and import packages on-the-fly

    • v1.0.0
    • 48.67
    • Published

    styled-normalize

    Normalize.css for styled-components CSS-in-JS library

    • v8.1.1
    • 48.66
    • Published

    get-css-data

    A micro-library for collecting stylesheet data from link and style nodes

    • v2.1.1
    • 48.53
    • Published

    babel-plugin-fully-specified

    Babel Plugin to transform your code to include the mandatory file extensions so your output gets fully-specified imports.

    • v1.3.0
    • 48.51
    • Published

    simport

    import like require but async

    • v1.2.0
    • 48.48
    • Published

    moddle-xml

    XML import/export for documents described with moddle

    • v11.0.0
    • 48.44
    • Published

    replace-css-url

    Replace all url paths and @import paths within css text, with custom function map.

    • v1.2.6
    • 48.22
    • Published

    imports-visitor

    Babel visitor that makes it easier to work with imports and require calls.

    • v2.1.0
    • 48.03
    • Published

    jscodeshift-imports

    A JSCodeshift extension with helpers for modifying `import` and `require` statements.

    • v1.1.0
    • 47.57
    • Published

    tsimportlib

    > Currently an alpha-quality, best-effort implementation. > May be unnecessary if you use TypeScript's `"module": "NodeNext", "moduleResolution": "NodeNext"`

    • v0.0.5
    • 47.39
    • Published

    esmify

    parse and handle import/export for browserify

    • v2.1.1
    • 47.19
    • Published

    stylelint-import

    Ensures imported file paths are well-defined

    • v1.0.0
    • 47.12
    • Published

    import-all-from

    A npm package which helps importing all files from given path

    • v1.0.1
    • 47.00
    • Published

    eslint-plugin-import-newlines

    ESLint plugin for enforcing newlines in ES6 import statements past a certain number of items

    • v1.4.0
    • 46.87
    • Published

    deep-require-cwd

    Require a module like `require()` but via a sequence of nested packages from the current working directory

    • v1.0.0
    • 46.71
    • Published

    deep-require-from

    Require a module like `require()` but via a sequence of nested packages

    • v1.0.0
    • 46.51
    • Published

    gulp-dependents

    Gulp plugin that tracks dependencies between files and adds any files that depend on the files currently in the stream, thus enabling incremental build of pcss, less, scss, sass, with extensibility points to support other file types.

    • v1.2.5
    • 46.36
    • Published

    import-move-codemod

    This babel plugin should be used as codemod for bulk import refactorings a.k.a module move refactorings

    • v0.0.3
    • 46.34
    • Published

    sass-extract-loader

    Webpack loader for sass-extract. Extract structured variables when importing sass files.

    • v1.1.0
    • 46.34
    • Published

    @nuxtjs/style-resources

    [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Codecov][codecov-src]][codecov-href] [![License][license-src]][license-href]

    • v1.2.2
    • 46.30
    • Published

    ts-import-resolver

    Lightweight, fast utility that resolves TypeScript import paths to absolute file paths without TypeScript compiler overhead. Zero dependencies.

    • v0.1.23
    • 45.52
    • Published

    gulp-cssimport

    Parses a CSS file, finds imports, grabs the content of the linked file and replaces the import statement with it.

    • v7.0.0
    • 45.51
    • Published

    @miherlosev/esm

    Tomorrow's ECMAScript modules today!

    • v3.2.26
    • 45.34
    • Published

    eslint-plugin-small-import

    ESLint rule for preventing the full import of big libraries when just a part of it can be imported.

    • v1.0.0
    • 45.31
    • Published

    import-jsx

    Require and transpile JSX on the fly

    • v5.0.0
    • 45.25
    • Published

    scriptloader

    Absurdly simple on-demand script loader.

    • v1.1.2
    • 45.22
    • Published

    @isaacs/import-jsx

    Require and transpile JSX on the fly (fork of import-jsx for node 17 support)

    • v4.0.1
    • 44.91
    • Published

    @dramaorg/delectus-culpa-reprehenderit

    [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

    • v3.5.94
    • 44.90
    • Published

    import-export

    Use ECMA6 import/export syntax from within NodeJS (simply require this module)

    • v1.0.1
    • 44.79
    • Published

    gulp-js-import

    A gulp plugin which can import .js files into .js files

    • v1.0.6
    • 44.53
    • Published

    csv-sniffer

    Takes a sample of CSV text and tries to guess newline character, col delimiter, quote character, and whether or not the first row in the file contains labels

    • v0.1.1
    • 44.49
    • Published

    ts-mock-imports

    Intuitive mocking for Typescript class imports

    • v1.3.17
    • 44.38
    • Published

    eslint-plugin-import-name

    Eslint plugin to restrict the name of imports. Works with default and CommonJS imports.

    • v1.2.3
    • 44.38
    • Published

    glslify-import

    A transform stream for glslify that adds an `import` directive to your shaders.

    • v3.1.0
    • 44.32
    • Published

    jsdoc-tsimport-plugin

    A JSDoc plugin to support the typescript module import syntax.

    • v1.0.5
    • 44.20
    • Published

    storybook-addon-module-mock

    [![](https://img.shields.io/npm/l/storybook-addon-module-mock)](https://www.npmjs.com/package/storybook-addon-module-mock) [![](https://img.shields.io/npm/v/storybook-addon-module-mock)](https://www.npmjs.com/package/storybook-addon-module-mock) [![](http

    • v1.4.4
    • 44.07
    • Published

    ts-import

    Import (compile and cache on the fly) TypeScript files dynamically with ease.

    • v5.0.0-beta.1
    • 44.04
    • Published

    eslint-import-resolver-alias-array

    A simple Node behavior import resolution plugin for eslint-plugin-import, supporting module alias, modified to allow for arrays of aliases.

    • v1.2.2
    • 43.96
    • Published

    as3js

    AS3 to JS converter.

    • v0.3.3
    • 43.87
    • Published

    transform-imports

    Easy-to-use API for manipulating imports and require calls.

    • v2.2.0
    • 43.69
    • Published

    flatfile-csv-importer

    A simple adapter for elegantly importing CSV files via flatfile.io (Typescript, ES6, Browser)

    • v0.2.13
    • 43.69
    • Published

    import-size

    Measure the real, minified, tree-shaken impact of individual imports into your app

    • v1.0.2
    • 43.63
    • Published

    types-package-json

    A handful set of package.json types and interfaces to improve working with dynamically imported package.json files.

    • v2.0.39
    • 43.62
    • Published

    export-loader

    A webpack loader that allowes to write a Golang style exports.

    • v1.0.52
    • 43.60
    • Published

    eslint-plugin-project-structure

    Powerful ESLint plugin with rules to help you achieve a scalable, consistent, and well-structured project. Create your own framework! Define your folder structure, file composition, advanced naming conventions, and create independent modules. Take your pr

    • v3.13.3
    • 43.39
    • Published

    @lexical/file

    This package provides the file import/export feature for Lexical.

    • v0.34.0
    • 43.30
    • Published

    import-maps

    Reference implementation playground for import maps proposal.

    • v0.2.4
    • 43.29
    • Published

    esbuild-plugin-import-glob

    A esbuild plugin which allows to import multiple files using the glob syntax.

    • v0.1.1
    • 43.14
    • Published

    json-merger

    Merge JSON (or YAML) files and objects with indicators like $import $remove $replace $merge etc

    • v3.0.0
    • 42.94
    • Published

    oust

    Extract URLs to stylesheets, scripts, links, images or HTML imports from HTML

    • v2.0.4
    • 42.88
    • Published

    import-loader

    Webpack loader to import files at once with glob

    • v1.0.1
    • 42.87
    • Published

    babel-plugin-transform-import

    Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')

    • v1.5.4
    • 42.77
    • Published

    react-spreadsheet-import

    React spreadsheet import for xlsx and csv files with column matching and validation

    • v4.7.1
    • 42.76
    • Published

    module-from-string

    Load module from string using require or import.

    • v3.3.1
    • 42.68
    • Published

    mo-walk

    walk directory for esm and cjs modules

    • v1.2.0
    • 42.46
    • Published

    grunt-include-replace

    Grunt task to include files and replace variables. Allows for parameterised includes.

    • v5.0.0
    • 42.25
    • Published

    dynamodb-wrapper

    A DynamoDB library that extends aws-sdk with bulk read/write, events, streams, and more

    • v1.4.1
    • 42.17
    • Published

    asset-db

    A data base store uuid to path and vice versa information

    • v0.2.0
    • 41.86
    • Published

    rework-npm

    Import CSS from npm modules using rework

    • v1.0.0
    • 41.51
    • Published

    @meteorjs/reify

    Enable ECMAScript 2015 modules in Node today. No caveats. Full stop.

    • v0.25.4
    • 41.48
    • Published

    @zitterorg/magni-eos

    [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

    • v5.8.60
    • 41.38
    • Published

    directory-import

    Module will allow you to synchronously or asynchronously import (requires) all modules from the folder you specify

    • v3.3.2
    • 41.37
    • Published

    esm-wallaby

    Tomorrow's ECMAScript modules today!

    • v3.2.35
    • 41.12
    • Published

    @flatfile/adapter

    A lightweight TypeScript/JavaScript adapter for working with Flatfile's Portal

    • v2.9.6
    • 40.91
    • Published

    css-aliases

    Lets you create custom aliases for CSS, less, SASS and etc. properties with an @alias rule

    • v1.1.10
    • 40.88
    • Published

    babel-plugin-transform-barrels

    A Babel plugin that transforms indirect imports through a barrel file (index.js) into direct imports.

    • v1.0.23
    • 40.87
    • Published

    node-sass-import

    Allows recursive import of SCSS components from local and/or node_modules directories using npm's module resolving algorithm

    • v2.0.1
    • 40.69
    • Published

    elasticdump

    import and export tools for elasticsearch

    • v6.124.1
    • 40.68
    • Published

    emotion-reset

    Reset file for emotion JSS library

    • v3.0.1
    • 40.58
    • Published

    scss-extract-loader

    Webpack loader for scss-extract. Extract structured variables when importing sass files.

    • v0.0.1
    • 40.49
    • Published