Skip to content

Commit

Permalink
Use ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 23, 2021
1 parent 1775eaa commit 12bdb97
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 23,234 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.DS_Store
*.log
.nyc_output/
coverage/
node_modules/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
coverage/
*.json
*.md
9 changes: 3 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict'
import {convert} from 'unist-util-is'

var convert = require('unist-util-is/convert')

var isPhrasing = convert([
export const phrasing = convert([
'break',
'delete',
'emphasis',
Expand All @@ -17,5 +15,4 @@ var isPhrasing = convert([
'text'
])

isPhrasing.displayName = 'isPhrasing'
module.exports = isPhrasing
phrasing.displayName = 'isPhrasing'
Loading

0 comments on commit 12bdb97

Please sign in to comment.