@dgraph-io/community

0.4.9 • Public • Published

@dgraph-io/community

Source code of the @dgraph-io/community npm package

This package isn't designed to be used by other projects, but we've published the source code in the spirit of transparency; educational purposes; sharing our best practices.

Features

  • creates CTA button
  • wraps mailchimp embeds in a more webapp-like API
    • also has little hacks to improve user experience in case of multiple domains
  • initializes analytics scripts
  • best good enough practices in code bundling and minification
  • published as a npm package to enable the power of unpkg.com

Usage

Add a script tag to your page somewhere after the </body> tag:

<script src="//unpkg.com/@dgraph-io/community"></script>
WARNING: be careful: it won't work if placed inside or before <body>!

Package Sidebar

Install

npm i @dgraph-io/community

Weekly Downloads

635

Version

0.4.9

License

ISC

Unpacked Size

40.9 kB

Total Files

20

Last publish

Collaborators

  • siddeshubale
  • kevinmingtarja
  • dgraphlabs
  • aelbannan