- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
459 B
JavaScript
23 lines
459 B
JavaScript
/*!
|
|
* resolve-dir <https://github.com/jonschlinkert/resolve-dir>
|
|
*
|
|
* Copyright (c) 2015, Jon Schlinkert.
|
|
* Licensed under the MIT License.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
var path = require('path');
|
|
var expand = require('expand-tilde');
|
|
var gm = require('global-modules');
|
|
|
|
module.exports = function resolveDir(dir) {
|
|
if (dir.charAt(0) === '~') {
|
|
dir = expand(dir);
|
|
}
|
|
if (dir.charAt(0) === '@') {
|
|
dir = path.join(gm, dir.slice(1));
|
|
}
|
|
return dir;
|
|
};
|