
axelson
Is there a library/automated approach to enforce the directions of imports/exports?
In Elixir I love to use the library GitHub - sasa1977/boundary: Manage and restrain cross-module dependencies in Elixir projects to enforce boundaries between modules and keep “areas” (aka boundaries) from reaching into the guts of another area.
Does anyone know of any similar library or approach for frontend typescript code? I’ve been having trouble searching because I don’t know of a good name for this type of library and I’m not familiar with any besides Boundary.
Most Liked

axelson
Found one library that looks promising: GitHub - sverweij/dependency-cruiser: Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
2
Popular Frontend topics

Some days ago I came across a video teaching the internals of git. It had some nice diagrams and animations. The diagrams looked like han...
New

I am new to programming.
I started reading Eloquent Javascript 3rd Edition, as the book comes highly recommended as a good place for beg...
New

Hi to everyone,
we are experiencing a 401 error related to the connection of the websocket (in reference to our web app); we are unable ...
New

I was working on a project that required me to update data in a SQL database. I initiated a transaction and modified the data with a seri...
New

hi everybody , am new in gsap.js
so i wanted load content in my home page when user scrolling , but
since am reading the documentation ...
New

I’m currently working on a JavaScript project that involves converting user-supplied text to numbers. Dealing with different areas and th...
New

Background
I have a custom component in my LiveView, which is basically a group of checkboxes.
I want to add a new attribute to my custo...
New

I am creating an app that allows user to enter values and depending on the value a number of textviews are changed programmatically from ...
New

Hi all,
Anybody knows how to do this menu animation?
(from BBVA APP, they have the same for both android and iOS app).
Is it custom?...
New

hello , i should code a cluster like image bellow we have no challenge in coding backend but in front need some clue to do this
its a dy...
New
Other popular topics

If it’s a mechanical keyboard, which switches do you have?
Would you recommend it? Why?
What will your next keyboard be?
Pics always w...
New

Any thoughts on Svelte?
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New

Not sure if following fits exactly this thread, or if we should have a hobby thread…
For many years I’m designing and building model air...
New

If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New

Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New

API 4
Path:
/user/following/
Method:
GET
Description:
Returns the list of all names of people whom the user follows
Response
[
{ ...
New

The overengineered Solution to my Pigeon Problem.
TL;DR: I built a wifi-equipped water gun to shoot the pigeons on my balcony, controlle...
New

I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New

Author Spotlight:
Tammy Coron
@Paradox927
Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New

Hello,
I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /sublime-text
- /textmate
- /debian
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /django
- /manjaro
- /spring
- /diversity
- /lua
- /nodejs
- /slackware
- /julia
- /c
- /neovim