chore!: Normalize repository, dropping node <10.13 support (#40) · gulpjs/rechoir@00f5968
@@ -6,24 +6,16 @@
6677# rechoir
889-[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]
9+[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
10101111Prepare a node environment to require files with different extensions.
12121313## What is it?
141415-This module, in conjunction with [interpret]-like objects, can register any filetype the npm ecosystem has a module loader for. This library is a dependency of [Liftoff].
15+This module, in conjunction with [interpret]-like objects, can register any filetype the npm ecosystem has a module loader for. This library is a dependency of [liftoff].
16161717**Note:** While `rechoir` will automatically load and register transpilers like `coffee-script`, you must provide a local installation. The transpilers are **not** bundled with this module.
181819-20-## rechoir for enterprise
21-22-Available as part of the Tidelift Subscription
23-24-The maintainers of rechoir and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-rechoir?utm_source=npm-rechoir&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
25-26-2719## Usage
28202921```js
@@ -42,13 +34,13 @@ console.log(require('./test/fixtures/test.toml'));
42344335### `prepare(config, filepath, [cwd], [noThrow])`
443645-Look for a module loader associated with the provided file and attempt require it. If necessary, run any setup required to inject it into [require.extensions](http://nodejs.org/api/globals.html#globals_require_extensions).
37+Look for a module loader associated with the provided file and attempt require it. If necessary, run any setup required to inject it into [require.extensions].
46384739`config` An [interpret]-like configuration object.
48404941`filepath` A file whose type you'd like to register a module loader for.
504251-`cwd` An optional path to start searching for the module required to load the requested file. Defaults to the directory of `filepath`.
43+`cwd` An optional path to start searching for the module required to load the requested file. Defaults to the directory of `filepath`.
52445345`noThrow` An optional boolean indicating if the method should avoid throwing.
5446@@ -62,22 +54,20 @@ If a loader is already registered, this will simply return `true`.
62546355MIT
645665-[interpret]: http://github.com/gulpjs/interpret
66-[Liftoff]: http://github.com/gulpjs/liftoff
67-68-[downloads-image]: http://img.shields.io/npm/dm/rechoir.svg
57+<!-- prettier-ignore-start -->
58+[downloads-image]: https://img.shields.io/npm/dm/rechoir.svg?style=flat-square
6959[npm-url]: https://www.npmjs.com/package/rechoir
70-[npm-image]: http://img.shields.io/npm/v/rechoir.svg
71-72-[travis-url]: https://travis-ci.org/gulpjs/rechoir
73-[travis-image]: http://img.shields.io/travis/gulpjs/rechoir.svg?label=travis-ci
60+[npm-image]: https://img.shields.io/npm/v/rechoir.svg?style=flat-square
746175-[appveyor-url]: https://ci.appveyor.com/project/gulpjs/rechoir
76-[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/rechoir.svg?label=appveyor
62+[ci-url]: https://github.com/gulpjs/rechoir/actions?query=workflow:dev
63+[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/rechoir/dev?style=flat-square
77647865[coveralls-url]: https://coveralls.io/r/gulpjs/rechoir
79-[coveralls-image]: http://img.shields.io/coveralls/gulpjs/rechoir/master.svg
80-81-[gitter-url]: https://gitter.im/gulpjs/gulp
82-[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg
83-66+[coveralls-image]: https://img.shields.io/coveralls/gulpjs/rechoir/master.svg
67+<!-- prettier-ignore-end -->
68+69+<!-- prettier-ignore-start -->
70+[interpret]: https://github.com/gulpjs/interpret
71+[require.extensions]: https://nodejs.org/api/modules.html#modules_require_extensions
72+[liftoff]: https://github.com/js-cli/js-liftoff
73+<!-- prettier-ignore-end -->