
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
elm-create-spa
Advanced tools
This is a modest attempt at providing a simplistic yet opinionated Elm SPA application skeleton based on rtfeldman's Elm Example SPA, for Allo-Media's own needs.
The application stores Elm source code in the src
directory:
src
āāā Data
āĀ Ā āāā Counter.elm
āĀ Ā āāā Date.elm
āĀ Ā āāā Session.elm
āāā Page
āĀ Ā āāā Counter.elm
āĀ Ā āāā CurrentTime.elm
āĀ Ā āāā Home.elm
āāā Request
āĀ Ā āāā Github.elm
āāā Views
āĀ Ā āāā Page.elm
āāā Main.elm
āāā Route.elm
Rtfeldman explains this organization in a dedicated blog post.
SCSS stylesheets are stored within the style
folder (freely inspired by SMACSS):
style
āāā base
āĀ Ā āāā _base.scss
āĀ Ā āāā _variables.scss
āāā modules
āĀ Ā āāā _module-counter.scss
āĀ Ā āāā _module-header.scss
āĀ Ā āāā _module-page-content.scss
āāā main.scss
$ npm install -g elm-create-spa
$ elm-create-app my-app
$ cd my-app
$ npm install
To start the development server:
$ npm start
This will serve and recompile Elm and SCSS code when source files change. Served application is available at localhost:3000.
$ npm test
Tests are located in the tests
folder and are powered by elm-test.
$ npm run build
The resulting build is available in the build
folder.
A convenient deploy
command is provided to publish code on Github Pages.
$ npm run deploy
FAQs
An utility to generate an Elm SPA skeleton.
The npm package elm-create-spa receives a total of 0 weekly downloads. As such, elm-create-spa popularity was classified as not popular.
We found that elm-create-spa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.