Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grain-async-phoenix

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grain-async-phoenix

The official JavaScript client for the Phoenix web framework.

  • 1.4.16
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

phoenix logo

Productive. Reliable. Fast.

A productive web framework that does not compromise speed or maintainability.

Inline docs

grain-async-phoenix

Fork of https://github.com/phoenixframework/phoenix 1.14.1

yarn add phoenix@npm:grain-async-phoenix

What did Grain change?

  • Socket options.params accepts a promise-returning function so that token can be fetched there.
  • Socket.endpointURL and Socket.connect now return a promise
  • Renamed module to grain-asyncphoenix
  • Note module is published under @ajoslin's username for now, please contact him to update.

Getting started

See the official site at https://www.phoenixframework.org/

Install the latest version of Phoenix by following the instructions at https://hexdocs.pm/phoenix/installation.html#phoenix

Documentation

API documentation is available at https://hexdocs.pm/phoenix

Phoenix.js documentation is available at https://hexdocs.pm/phoenix/js

Contributing

We appreciate any contribution to Phoenix. Check our CODE_OF_CONDUCT.md and CONTRIBUTING.md guides for more information. We usually keep a list of features and bugs in the issue tracker.

Generating a Phoenix project from unreleased versions

You can create a new project using the latest Phoenix source installer (the phx.new Mix task) with the following steps:

  1. Remove any previously installed phx_new archives so that Mix will pick up the local source code. This can be done with mix archive.uninstall phx_new or by simply deleting the file, which is usually in ~/.mix/archives/.
  2. Copy this repo via git clone https://github.com/phoenixframework/phoenix or by downloading it
  3. Run the phx.new mix task from within the installer directory, for example:
$ cd installer
$ mix phx.new dev_app --dev

The --dev flag will configure your new project's :phoenix dep as a relative path dependency, pointing to your local Phoenix checkout:

defp deps do
  [{:phoenix, path: "../..", override: true},

To create projects outside of the installer/ directory, add the latest archive to your machine by following the instructions in installer/README.md

To build the documentation from source:

$ cd assets
$ npm install
$ cd ..
$ MIX_ENV=docs mix docs

To build Phoenix from source:

$ mix deps.get
$ mix compile

To build the Phoenix installer from source:

$ mix deps.get
$ mix compile
$ mix archive.build

Building phoenix.js

$ cd assets
$ npm install
$ npm run watch

Copyright (c) 2014, Chris McCord.

Phoenix source code is licensed under the MIT License.

FAQs

Package last updated on 17 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc