editorconfig-jxa
v0.7.0
Published
EditorConfig core library for JXA (JavaScript for Automation) on macOS
Readme
editorconfig-jxa
EditorConfig core library for JXA (JavaScript for Automation) on macOS
Installation
npm install editorconfig-jxaUsage
Implements editorconfig-core-jxa API
Example
via Webpack or Browserify
var editorconfig = require('editorconfig-jxa')
editorconfig.parseSync('~/file.js')via Rollup
import { parseSync } from 'editorconfig-jxa'
parseSync('~/file.js')via JXA native Library
Install the library with install-osa.sh:
$ curl -fsSL https://raw.githubusercontent.com/umireon/editorconfig-jxa/master/install-osa.sh | bashUse the library with Library:
var editorconfig = Library('editorconfig')
editorconfig.parseSync('~/file.js')
