Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/jscodeshift
/ functions
Functions
135 in github.com/facebook/jscodeshift
⨍
Functions
135
◇
Types & classes
6
Function
match
* Utility function to match a node against a pattern. * @augments core * @static * @param {Node|NodePath|Object} path * @parma {Object} filter *
src/core.js:93
Function
newCore
(source, options)
src/core.js:136
Function
nochange
(msg, verbose)
src/Runner.js:54
Function
nodeMethod
()
src/__tests__/Collection-test.js:118
Function
ok
(msg, verbose)
src/Runner.js:51
Function
options
* `options` is an object of objects. Each option can have the following * properties: * * - full: The name of the option to be used in the
src/argsParser.js:263
Function
parse
(code)
parser/flow.js:30
Function
parse
(code)
parser/babel5Compat.js:46
Function
parse
(code)
parser/tsx.js:23
Function
parse
(code)
parser/babylon.js:53
Function
parse
(code)
parser/ts.js:20
Function
parse
(options, args=process.argv.slice(2))
src/argsParser.js:125
Function
process
(value)
src/argsParser.js:173
Method
rab
()
sample/__testfixtures__/reverse-identifiers.output.js:7
Function
register
()
src/collections/ImportDeclaration.js:108
Function
register
()
src/collections/Node.js:181
Function
register
()
src/collections/JSXElement.js:213
Function
register
()
src/collections/VariableDeclarator.js:203
Function
registerMethods
* This function adds the provided methods to the prototype of the corresponding * typed collection. If no type is passed, the methods are added to *
src/Collection.js:358
Function
run
(transformFile, paths, options)
src/Runner.js:164
Function
setDefaultCollectionType
* Sets the default collection type. In case a collection is created form an * empty set of paths and no type is specified, we return a collection of
src/Collection.js:464
Function
shouldIgnore
(path)
src/ignoreFiles.js:61
Method
size
* Returns the number of elements in this collection. * * @return {number}
src/Collection.js:140
Function
skip
(msg, verbose)
src/Runner.js:57
Function
stats
(name, quantity)
src/Worker.js:119
Function
sum
(a, b)
src/__testfixtures__/test-sync-transform.input.js:1
Function
sum
(a, b)
src/__testfixtures__/test-async-transform.input.js:1
Function
synchronousTestTransform
(fileInfo, api, options)
src/__testfixtures__/test-sync-transform.js:1
Function
synchronousTestTransform
(fileInfo, api, options)
src/__testfixtures__/test-async-transform.js:1
Function
transformer
* Example jscodeshift transformer. Simply reverses the names of all * identifiers.
sample/reverse-identifiers.js:12
Function
transformer
(file, api)
src/__tests__/ts-decorator-auto-accessor-test.js:3
Function
typedMethod
()
src/Collection.js:407
Function
use
* Utility function for registering plugins. * * Plugins are simple functions that are passed the core jscodeshift instance. * They should extend js
src/core.js:117
Function
visit
(path)
src/collections/Node.js:37
Function
withParser
* Returns a version of the core jscodeshift function "bound" to a specific * parser. * * @augments core * @static
src/core.js:131
← previous
101–135 of 135, ranked by callers