JSPM

Found 4188 results for import

resolve-from

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

  • v5.0.0
  • 79.31
  • Published

import-fresh

Import a module while bypassing the cache

  • v4.0.0
  • 77.15
  • Published

postcss-import

PostCSS plugin to import CSS files

  • v16.1.1
  • 73.60
  • Published

resolve-cwd

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

  • v3.0.0
  • 73.25
  • Published

import-local

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

  • v3.2.0
  • 72.76
  • Published

css-loader

css loader module for webpack

  • v7.1.4
  • 71.78
  • Published

mdast-util-mdxjs-esm

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

  • v2.0.1
  • 70.27
  • Published

acorn-import-phases

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

  • v1.0.4
  • 70.07
  • Published

node-exports-info

Info about node `exports` field support: version ranges, categories, etc.

  • v1.6.0
  • 70.06
  • Published

import-lazy

Import a module lazily

  • v4.0.0
  • 69.10
  • Published

import-from

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

  • v4.0.0
  • 67.61
  • Published

esm

Tomorrow's ECMAScript modules today!

  • v3.2.25
  • 65.58
  • Published

eslint-plugin-n

Additional ESLint's rules for Node.js

  • v18.0.1
  • 64.96
  • Published

detective-es6

Get the dependencies of an ES6 module

  • v5.0.2
  • 64.33
  • Published

import-cwd

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

  • v3.0.0
  • 63.93
  • Published

sass-lookup

Get the file associated with a Sass import

  • v6.1.2
  • 63.12
  • Published

parse-imports-exports

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

  • v0.2.4
  • 63.01
  • Published

detective-vue2

Get the dependencies of a Vue module

  • v2.3.0
  • 62.63
  • Published

requireg

Require and resolve global modules like a boss

  • v0.2.2
  • 62.35
  • Published

import-from-esm

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

  • v2.0.0
  • 61.74
  • Published

eslint-import-resolver-alias

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

  • v1.1.2
  • 60.46
  • Published

clear-module

Clear a module from the cache

  • v4.1.2
  • 59.21
  • Published

desm

get the file directory from import.meta.url

  • v1.3.1
  • 56.09
  • Published

import-modules

Import all modules in a directory

  • v3.2.0
  • 55.76
  • Published

@sanity/import

Import documents to a Sanity dataset

  • v6.0.1
  • 55.55
  • Published

typescript-transform-paths

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

  • v3.5.6
  • 54.61
  • 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
  • 53.69
  • Published

moddle

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

  • v8.1.0
  • 53.39
  • 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.3.1
  • 53.39
  • Published

moddle-xml

XML import/export for documents described with moddle

  • v12.0.0
  • 52.98
  • Published

commonjs-to-es-module-codemod

jscodeshift codemod that convert CommonJS(require/exports) to ES Modules(import/export) for JavaScript/TypeScript

  • v0.5.7
  • 52.35
  • Published

has-dynamic-import

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

  • v2.1.1
  • 52.22
  • Published

fly-import

Install and import packages on-the-fly

    • v1.0.0
    • 51.79
    • Published

    current-module-paths

    Access to __filename and __dirname within ECMAScript modules

    • v1.1.3
    • 51.58
    • Published

    get-css-data

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

    • v2.1.1
    • 51.09
    • Published

    load-module

    Standard dynamic imports with a few extra features

    • v5.0.0
    • 51.01
    • Published

    styled-normalize

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

    • v8.1.1
    • 50.34
    • Published

    eslint-plugin-import-newlines

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

    • v2.0.0
    • 49.52
    • Published

    depseek

    Seeks for dependency references in JS/TS code

    • v0.4.6
    • 49.18
    • Published

    import-global

    Import a globally installed module

    • v1.1.1
    • 49.14
    • 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.6.2
    • 47.97
    • Published

    import

    Concatenate files together using import statements.

    • v0.0.6
    • 47.79
    • Published

    ts-import

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

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

    esmock

    provides native ESM import and globals mocking for unit tests

    • v2.7.4
    • 47.19
    • Published

    esbuild-rails

    Esbuild plugin for Rails applications

    • v1.0.7
    • 47.04
    • 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.14.3
    • 46.87
    • Published

    ts-mock-imports

    Intuitive mocking for Typescript class imports

    • v1.3.19
    • 46.74
    • Published

    @lexical/file

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

    • v0.44.0
    • 46.56
    • Published

    module-from-string

    Load module from string using require or import.

    • v3.3.1
    • 46.28
    • Published

    esm-wallaby

    Tomorrow's ECMAScript modules today!

    • v3.2.35
    • 46.10
    • 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.02
    • Published

    create-index

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

    • v2.6.0
    • 45.77
    • Published

    seed-publish

    Mixins that manage rendered CSS from modular importing

    • v0.2.0
    • 45.65
    • Published

    get-root-path

    Get the closest parent folder containing a package.json file

    • v3.0.1
    • 45.58
    • Published

    import-jsx

    Require and transpile JSX on the fly

    • v5.0.0
    • 45.52
    • Published

    esbuild-plugin-import-glob

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

    • v0.1.1
    • 45.40
    • Published

    json-merger

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

    • v3.0.0
    • 45.17
    • Published

    @flatfile/adapter

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

    • v2.9.6
    • 45.09
    • 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
    • 44.99
    • Published

    get-imports

    Get CSS @imports from a string

    • v1.0.0
    • 44.94
    • Published

    import-regex

    Regular expression for matching CSS @imports

    • v1.1.0
    • 44.88
    • Published

    @miherlosev/esm

    Tomorrow's ECMAScript modules today!

    • v3.2.26
    • 44.87
    • Published

    oust

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

    • v2.0.4
    • 44.79
    • Published

    parse-import

    Parse CSS @import statements

    • v2.0.0
    • 44.78
    • Published

    tsimportlib

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

    • v0.0.5
    • 44.33
    • Published

    webpack-require-from

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

    • v1.8.6
    • 44.20
    • Published

    trace-deps

    A dependency tracing tool.

    • v0.5.2
    • 43.96
    • Published

    emotion-reset

    Reset file for emotion JSS library

    • v3.0.1
    • 43.94
    • Published

    mo-walk

    walk directory for esm and cjs modules

    • v1.2.0
    • 43.82
    • Published

    postcss-easy-import

    PostCSS plugin to inline @import rules content with extra features

    • v4.0.0
    • 43.78
    • Published

    @meteorjs/reify

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

    • v0.25.4
    • 43.57
    • 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
    • 43.48
    • Published

    elasticdump

    import and export tools for elasticsearch

    • v6.124.2
    • 43.26
    • Published

    import2

    Dynamic import function which can avoid transpiling to require function

    • v1.0.3
    • 43.07
    • Published

    rework-import

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

    • v2.1.0
    • 43.06
    • Published

    postcss-import-ext-glob

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

    • v2.1.1
    • 42.83
    • Published

    gulp-concat-css

    Concatenate css files, rebasing urls and inlining @import

    • v3.1.0
    • 42.80
    • Published

    import-locals

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

    • v2.0.0
    • 42.61
    • Published

    @improved/node

    Quickly import from core node modules

    • v1.1.1
    • 42.54
    • Published

    react-spreadsheet-import

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

    • v4.7.1
    • 42.25
    • Published

    react-csv-importer

    React CSV import widget with user-customizable mapping

    • v0.8.1
    • 42.17
    • Published

    vm-worker

    Tiny virtual machine for browser to execute javascript modules in Web Worker

    • v1.2.1
    • 42.13
    • Published

    simport

    import like require but async

    • v1.2.0
    • 42.01
    • Published

    reify

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

    • v0.20.12
    • 41.79
    • Published

    jsdoc-tsimport-plugin

    A JSDoc plugin to support the typescript module import syntax.

    • v1.0.5
    • 41.68
    • Published

    abrequire

    abrequire is absolute path require

    • v0.0.4
    • 41.40
    • Published

    inclusion

    Dynamic imports for all

    • v1.0.1
    • 41.25
    • Published

    import-sync

    Synchronously import dynamic ECMAScript Modules similar to CommonJS require. Basic wrapper around esm for compatibility with both ESM and CJS projects in NodeJS.

    • v2.2.6
    • 41.01
    • Published

    babel-plugin-detective

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

    • v2.0.0
    • 40.96
    • Published

    transform-imports

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

    • v2.2.0
    • 40.87
    • 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.1
    • 40.81
    • Published

    basetag

    A better way to import NodeJS modules

    • v2.1.0
    • 40.78
    • Published

    imports-visitor

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

    • v2.1.0
    • 40.56
    • Published

    @isaacs/import-jsx

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

    • v4.0.1
    • 40.28
    • Published

    format-imports

    JavaScript and TypeScript Import/Export Formatter.

    • v4.0.8
    • 39.91
    • Published

    dimport

    Run ES Module syntax in any browser – even IE!

    • v1.0.0
    • 39.86
    • Published

    sass-extract

    Extract structured variables from sass files. Fast and accurate.

    • v3.0.0
    • 39.49
    • Published

    inject-markdown

    Command line tool to inject files into markdown files.

    • v4.0.0
    • 39.34
    • Published

    default-import

    Properly handle CJS imports in ESM.

    • v2.0.8
    • 39.08
    • 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
    • 38.97
    • Published

    babel-plugin-transform-imports-api

    Convert import default package API to modular reference to reduce package size and transforms member style imports.

      • v1.0.0
      • 38.94
      • Published

      esmify

      parse and handle import/export for browserify

      • v2.1.1
      • 38.82
      • Published

      eslint-plugin-typescript-paths

      ESLint Plugin that includes rules which encourage the use of absolute paths over relative paths, defined by paths or baseUrl from tsconfig.json

      • v0.0.33
      • 38.68
      • Published

      babel-plugin-file-loader

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

      • v2.0.0
      • 38.68
      • Published

      ngimport

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

      • v1.0.0
      • 38.38
      • Published

      @platejs/docx-io

      DOCX import/export for Plate - file-based document conversion

      • v53.0.0
      • 38.31
      • Published

      postgrator-cli

      Command line interface for Postgrator

      • v9.1.0
      • 38.26
      • Published

      directory-import

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

      • v3.3.2
      • 38.22
      • 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
      • 38.22
      • Published

      babel-plugin-transform-rewrite-imports

      Add an extension to import specifiers that do not already have one, replace the extensions of those that do, or even rewrite specifiers entirely

      • v1.5.4
      • 38.09
      • Published

      filedirname

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

      • v3.4.0
      • 38.07
      • Published

      webpack-glsl-loader

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

      • v1.0.1
      • 38.02
      • Published

      esbuild-shim-plugin

      A plugin for esbuild to shim imports for commonjs and esm modules.

      • v1.0.3
      • 37.58
      • 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
      • 37.43
      • Published

      postcss-nested-import

      PostCSS plugin for importing other stylesheet source files anywhere in your CSS.

      • v1.3.0
      • 37.29
      • Published

      @wordpress/lazy-import

      Lazily import a module, installing it automatically if missing.

      • v2.45.0
      • 37.28
      • 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
      • 37.17
      • Published

      import-sort-style-delicious

      An import-sort style that lets you configure your sorting along axes useful at Delicious Insights

      • v1.0.2
      • 37.02
      • Published

      babel-plugin-transform-barrels

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

      • v1.0.23
      • 36.74
      • Published

      node-redis-dump2

      Backup and restore your Redis data written in node.js.

      • v0.6.0
      • 36.66
      • Published

      babel-plugin-explicit-exports-references

      Transforms all internal references to a module's exports such that each reference starts with `module.exports` instead of directly referencing an internal name. This enables easy mocking of specific (exported) functions in Jest with Babel/TypeScript, even

      • v1.0.2
      • 36.63
      • Published

      vite-plugin-react-rich-svg

      Seamless SVG loader with versatile import options! (Such as React component, dataURI and raw html code)

      • v1.3.0
      • 36.62
      • 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
      • 36.48
      • Published

      hucre

      Zero-dependency spreadsheet engine. Read & write XLSX, CSV, ODS. Schema validation, streaming, tree-shakeable. Pure TypeScript, works everywhere.

      • v0.5.0
      • 36.45
      • Published

      fast-brake

      fast js feature detection with zero runtime dependencies; analyzes js to verify compatibility

      • v0.1.6
      • 36.31
      • Published

      deep-require-cwd

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

      • v1.0.0
      • 36.05
      • Published

      deep-resolve-from

      Resolve the path of a module through a sequence of packages

      • v1.1.0
      • 35.92
      • Published

      import-export

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

      • v1.0.1
      • 35.80
      • Published

      hello-csv

      A modern CSV importer written in Preact

      • v0.4.2
      • 35.80
      • Published

      sass-extract-loader

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

      • v1.1.0
      • 35.76
      • Published

      deep-require-from

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

      • v1.0.0
      • 35.73
      • Published

      figue

      Platform agnostic configuration management library, with environmental variables and validation, like convict but cross-env and zod schemas

      • v3.2.0
      • 35.72
      • Published

      @algolia/cli

      A Node CLI tools for manipulating data. Handy for day-to-day Algolia SE work.

      • v4.0.8
      • 35.67
      • 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
      • 35.64
      • Published

      flatfile-csv-importer

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

      • v0.2.13
      • 35.62
      • 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
      • 35.58
      • Published

      vue-csv-import

      Vue.js component to handle CSV uploads with field mapping.

      • v4.1.2
      • 35.35
      • Published

      esbuild-plugin-glsl

      An esbuild plugin that adds support for shader imports.

      • v1.4.1
      • 35.31
      • Published