Showing 21-40 of 16,683 packages
require('uiautomation-runner').build_and_test { build_dir: "#{__dirname}/build/xcode" results_dir: "#{__dirname}/results/#{strftime.strftimeUTC('...')}" script_path: "#{__dirname}/all-the-tests.js" xcode_workspace: "#{__dirname}/../MyAwesomeProduct.xcworkspace" xcode_scheme: 'myawesomeproduct' xcode_configuration: 'Test' app_filename: 'My Awesome Product.app' delete_simulator_apps: true }
Simple function for extract node variables __dirname, __filename, require and module from import.meta
Synchronous validation of a path existing either as a file or as a directory.
bit-bundler loader plugin for handling nodejs builtin modules, __dirname, and __filename
```javascript new HttpPush({ receiver: 'http://127.0.0.1:7999/receiver', to: '/home/www', data: { t: +new Date() }, include: [ path.resolve(__dirname, '..', 'src'), path.resolve(__dirname, '..', 'public'),
Transform plugin for js/ts projects that use node globals like __dirname and __filename and want to compile to esm
🤕 Create modifiers to require cache based on path (e.g. `__dirname`)
use strict'; const path=require('path'); const addObj=require(path.join(__dirname,'add.js')); const subObj=require(path.join(__dirname,'substrict.js')) const person=require(path.join(__dirname,'syndrome.js'))
``` const options = {} const Torrentz = require('torrentz') const torrentz = new Torrentz(options) ``` ## options ``` { dir: "some/directory/where/all/the/data/is/stored" , // string, optional, default: __dirname storage: "name-of-storage-directory", // s
__dirname & __filename
Resolve the workspace root using bun, npm, pnpm, or yarn
You can use __dirname and __filename when using ESM
The legacy ESLintRC config file format for ESLint
get the file directory from import.meta.url
`match('*.js', { useCache: false, parser: fis.plugin('browserify-commonjs',{ rootName : __dirname }) });`
It's __dirname but for pkg'd windows applications
Replaces __dirname and __filename and wraps class components in observer
Export __dirname
Walk up ancester's dir up to root
A thin wrapper of pixiv web api