Yarn
  • 新手指南
  • 文档
  • 包
  • 博客
  • 中文
    English Français Português (Brasil) 中文
  • Discord Discord
  • Twitter Twitter
  • Facebook Facebook
  • Github GitHub
found 63 packages in 25ms
insert-module-globals5.2mMIT7.2.1

insert implicit module globals into a module-deps stream

browserifyover 2 years ago__filename, __dirname, global, process
npmGitHub
cross-dirname966.2kMIT0.1.0

Node.js + Gjs + Deno module that returns the current script dirname and filename. Similar to __dirname and `__filename` but also works in CommonJs and ES modules.

JumpLinkalmost 3 years agodirname, cross-platform, esm, cjs
npmGitHub
current-module-paths612.2kMIT1.1.2

Access to __filename and __dirname within ECMAScript modules

75lb11 months ago__filename, __dirname, module, paths
npmGitHub
paths.macro42.1kMIT3.0.1

Babel plugin that returns an object containing paths like __dirname and __filename as static values

ndelangenabout 3 years ago__filename, __dirname, babel, babel-plugin-macros
npm
filedirname28.4kArtistic-2.03.4.0

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

bevryover 1 year ago__filename, __dirname, commonjs, deno
npmGitHub
  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • ›
用 Algolia 搜索 - 看它是怎么工作的.

包

debug-jsdebug

Lightweight debugging utility for Node.js and the browser

debug, log, debugger
lodashlodash

Lodash modular utilities.

modules, stdlib, util
facebookreact

React is a JavaScript library for building user interfaces.

react
ljharbqs

A querystring parser that supports nesting and arrays, with a depth limit

querystring, qs, query, url
caolanasync

Higher-order functions and common patterns for asynchronous code

async, callback, module, utility
babelbabel-core

Babel compiler core.

6to5, babel, classes, const

Yarn 在 BSD 协议下发布 行为守则
编辑本页