Coder Social home page Coder Social logo

playform / convert Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 807 KB

🫶🏻 Convert —

Home Page: https://GitHub.Com/PlayForm/Convert

License: MIT License

TypeScript 91.68% JavaScript 8.32%
playform convert astro astro-integration astro-component astro-convert withastro

convert's Introduction

This Astro integration converts all your files into different formats.

Installation

There are two ways to add integrations to your project. Let's try the most convenient option first!

astro add command

Astro includes a CLI tool for adding first party integrations: astro add. This command will:

  1. (Optionally) Install all necessary dependencies and peer dependencies
  2. (Also optionally) Update your astro.config.* file to apply this integration

To install @playform/convert, run the following from your project directory and follow the prompts:

Using NPM:

npx astro add @playform/convert

Using Yarn:

yarn astro add @playform/convert

Using PNPM:

pnpx astro add @playform/convert

Install dependencies manually

First, install the @playform/convert integration like so:

npm install -D -E @playform/convert

Then, apply this integration to your astro.config.* file using the integrations property:

astro.config.ts

import Convert from "@playform/convert";

export default {
	integrations: [Convert()],
};

Getting started

You can override any of the default options from the configurations of:

or disable them entirely:

import Convert from "@playform/convert";

export default {
	integrations: [
		Convert({
			Convert: false,
		}),
	],
};

Set Logger to 0 if you do not want to see debug messages. Default is 2.

import Convert from "@playform/convert";

export default {
	integrations: [
		Convert({
			Logger: 0,
		}),
	],
};

Changelog

See CHANGELOG.md for a history of changes to this integration.

convert's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar nikolarhristov avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.